Move japanese input setting to keybinds file and general-config
This commit is contained in:
parent
1f10741aa6
commit
cce07ebf48
6
init.el
6
init.el
@ -66,12 +66,6 @@
|
|||||||
;; (global-display-line-numbers-mode)
|
;; (global-display-line-numbers-mode)
|
||||||
;; (defvar display-line-numbers-width-start t)
|
;; (defvar display-line-numbers-width-start t)
|
||||||
|
|
||||||
;; Toggle Japanese with `qq'
|
|
||||||
;; Sample text: 進撃 の 巨人
|
|
||||||
;; (shingeki no kyojin (attack on titan))
|
|
||||||
(setq default-input-method "japanese")
|
|
||||||
;; 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
|
||||||
(setq debug-on-error nil)
|
(setq debug-on-error nil)
|
||||||
|
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
;; Japanese input?
|
;; Toggle Japanese with `qq'
|
||||||
|
;; Sample text: 進撃 の 巨人
|
||||||
|
;; (shingeki no kyojin (attack on titan))
|
||||||
|
;; DISABLED because something broke and I didn't bother figuring out what...
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:states 'insert
|
:states 'insert
|
||||||
"q" (general-key-dispatch 'self-insert-command
|
"q" (general-key-dispatch 'self-insert-command
|
||||||
|
@ -72,6 +72,7 @@
|
|||||||
|
|
||||||
;; Keybinding manager
|
;; Keybinding manager
|
||||||
(elpaca-use-package general
|
(elpaca-use-package general
|
||||||
|
:custom (default-input-method "japanese")
|
||||||
:config (mitch/general-config))
|
:config (mitch/general-config))
|
||||||
|
|
||||||
;; (elpaca-use-package use-package-ensure-system-package)
|
;; (elpaca-use-package use-package-ensure-system-package)
|
||||||
|
Loading…
Reference in New Issue
Block a user