From d9e1e11e60db11c86115b708d68e3b8aec2b67ac Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Wed, 24 Aug 2022 19:15:52 -0800 Subject: [PATCH] Japanese input toggle with qq and stuff --- init.el | 5 ----- lisp/mitch-keybinds.el | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index 926dfdb..a1b433b 100644 --- a/init.el +++ b/init.el @@ -90,11 +90,6 @@ ;; Sample text: 進撃 の 巨人 ;; (shingeki no kyojin (attack on titan)) (setq default-input-method "japanese") - (general-define-key - :states 'insert - "q" (general-key-dispatch 'self-insert-command - :timeout 0.25 - "q" 'toggle-input-method)) ;; DISABLED because something broke and I didn't bother figuring out what... ;; Don't barf out emacs errors as they are encountered diff --git a/lisp/mitch-keybinds.el b/lisp/mitch-keybinds.el index adbf2f3..a88cb83 100644 --- a/lisp/mitch-keybinds.el +++ b/lisp/mitch-keybinds.el @@ -8,6 +8,13 @@ ;; `https://github.com/noctuid/general.el' for more. ;; ----------------------------------------------------------------------------- ;;; Code: + +;; Japanese input? +(general-define-key + :states 'insert + "q" (general-key-dispatch 'self-insert-command + :timeout 0.25 + "q" 'toggle-input-method)) (general-define-key "" 'keyboard-escape-quit "C--" 'text-scale-decrease