aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-input-method.el
blob: 4d83d512e1f247a3c55247a61226c3d48cf726ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(when *is-a-linux*
    (use-package fcitx
	:ensure t
	:init
	(setq fcitx-remote-command "fcitx5-remote")
	: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)
    (sis-global-context-mode t)))

(provide 'init-input-method)