Japanese input toggle with qq and stuff

This commit is contained in:
MitchMarq42 2022-08-24 19:15:52 -08:00
parent 54abd1ab66
commit d9e1e11e60
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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
"<escape>" 'keyboard-escape-quit
"C--" 'text-scale-decrease