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: 進撃 の 巨人 ;; Sample text: 進撃 の 巨人
;; (shingeki no kyojin (attack on titan)) ;; (shingeki no kyojin (attack on titan))
(setq default-input-method "japanese") (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... ;; DISABLED because something broke and I didn't bother figuring out what...
;; Don't barf out emacs errors as they are encountered ;; Don't barf out emacs errors as they are encountered

View File

@ -8,6 +8,13 @@
;; `https://github.com/noctuid/general.el' for more. ;; `https://github.com/noctuid/general.el' for more.
;; ----------------------------------------------------------------------------- ;; -----------------------------------------------------------------------------
;;; Code: ;;; 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 (general-define-key
"<escape>" 'keyboard-escape-quit "<escape>" 'keyboard-escape-quit
"C--" 'text-scale-decrease "C--" 'text-scale-decrease