diff options
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-input-method.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-input-method.el b/.emacs.d/lisp/init-input-method.el index 4d83d51..8c007bc 100644 --- a/.emacs.d/lisp/init-input-method.el +++ b/.emacs.d/lisp/init-input-method.el @@ -11,8 +11,15 @@ :ensure t :after (evil) :init + (setq sis-external-ism "/usr/local/bin/macism") (setq sis-english-source "com.apple.keylayout.ABC" sis-other-source "com.apple.inputmethod.SCIM.ITABC") + (setq sis-do-set + (lambda (source) (start-process "set-input-source" nil + sis-external-ism source))) + (setq sis-do-get + (lambda () (start-process "get-input-source" nil + sis-external-ism))) :config (sis-global-respect-mode t) (sis-global-context-mode t))) |