diff options
author | Guangxiong Lin <[email protected]> | 2022-02-22 00:21:42 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-02-22 00:21:42 +0800 |
commit | c53c9bba77c4c81d25b3e297e6df9304ff5fe3d7 (patch) | |
tree | 8582da941b81de29095b09c6278186a1ff463e13 /.emacs.d/lisp/init-pyim.el | |
parent | 32524fa5f17b94f20c9fec5d04ee66eb3cef0e24 (diff) | |
download | dotfiles-c53c9bba77c4c81d25b3e297e6df9304ff5fe3d7.tar.gz dotfiles-c53c9bba77c4c81d25b3e297e6df9304ff5fe3d7.tar.bz2 dotfiles-c53c9bba77c4c81d25b3e297e6df9304ff5fe3d7.zip |
Add emacs pyim
Diffstat (limited to '.emacs.d/lisp/init-pyim.el')
-rw-r--r-- | .emacs.d/lisp/init-pyim.el | 15 |
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) |