Move japanese input setting to keybinds file and general-config

This commit is contained in:
MitchMarq42 2023-01-04 13:27:42 -09:00
parent 1f10741aa6
commit cce07ebf48
3 changed files with 5 additions and 7 deletions

View File

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

View File

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

View File

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