Japanese input toggle with qq and stuff
This commit is contained in:
parent
54abd1ab66
commit
d9e1e11e60
5
init.el
5
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user