aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-pyim.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-pyim.el')
-rw-r--r--.emacs.d/lisp/init-pyim.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-pyim.el b/.emacs.d/lisp/init-pyim.el
new file mode 100644
index 0000000..e4b3a5c
--- /dev/null
+++ b/.emacs.d/lisp/init-pyim.el
@@ -0,0 +1,15 @@
+(use-package pyim
+ :ensure t
+ :config
+ (pyim-default-scheme 'quanpin)
+ (pyim-isearch-mode 1)
+ (setq pyim-page-length 10)
+ (setq default-input-method "pyim"))
+
+(use-package pyim-basedict
+ :ensure t
+ :after (pyim)
+ :config
+ (pyim-basedict-enable))
+
+(provide 'init-pyim)