From c53c9bba77c4c81d25b3e297e6df9304ff5fe3d7 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 22 Feb 2022 00:21:42 +0800 Subject: Add emacs pyim --- .emacs.d/lisp/init-pyim.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .emacs.d/lisp/init-pyim.el (limited to '.emacs.d/lisp/init-pyim.el') 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) -- cgit v1.2.3