diff options
author | Guangxiong Lin <[email protected]> | 2022-03-05 01:40:40 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-05 01:40:40 +0800 |
commit | 12eaabda3017f5fa9fc9cba677e946bbea0e1f4f (patch) | |
tree | 176a721c3366a9b94651f055988121236a06bab2 /.emacs.d/lisp | |
parent | 99d1220b6fafe67cae45beee5a957f235f6fe1c4 (diff) | |
download | dotfiles-12eaabda3017f5fa9fc9cba677e946bbea0e1f4f.tar.gz dotfiles-12eaabda3017f5fa9fc9cba677e946bbea0e1f4f.tar.bz2 dotfiles-12eaabda3017f5fa9fc9cba677e946bbea0e1f4f.zip |
Add input method switch for macos (emacs)
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-input-method.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-input-method.el b/.emacs.d/lisp/init-input-method.el index 38b09bd..df93015 100644 --- a/.emacs.d/lisp/init-input-method.el +++ b/.emacs.d/lisp/init-input-method.el @@ -6,4 +6,14 @@ :config (fcitx-aggressive-setup))) +(when *is-a-mac* + (use-package sis + :ensure t + :after (evil) + :init + (setq sis-english-source "com.apple.keylayout.ABC" + sis-other-source "com.apple.inputmethod.SCIM.ITABC") + :config + (sis-global-respect-mode t))) + (provide 'init-input-method) |