From 8299dd23b2c5c949f7fc9db272e02ed31ff57259 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Fri, 22 Jul 2022 16:22:17 -0800 Subject: [PATCH] Japanese input working again: I am dumb --- init.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index e180427..c018d17 100644 --- a/init.el +++ b/init.el @@ -87,8 +87,11 @@ ;; Toggle Japanese with `qq' ;; Sample text: 進撃 の 巨人 ;; (shingeki no kyojin (attack on titan)) - ;; (setq default-input-method 'japanese) - ;; (setq-default current-input-method 'japanese-ascii) + (setq default-input-method "japanese") + (general-define-key + :states 'insert + "q" (general-key-dispatch 'self-insert-command + "q" 'toggle-input-method)) ;; DISABLED because something broke and I didn't bother figuring out what... ;; barf out emacs errors as they are encountered