summaryrefslogtreecommitdiff
path: root/emacs/personal-lisp/chinese.el
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2024-04-27 16:46:22 -0700
committerThomas Ulmer <thomasmulmer02@gmail.com>2024-04-27 16:46:22 -0700
commite950b705540c5371ef1d7efd6bce9d8e36d62f3f (patch)
tree1bf043689c8b78c188636e9cc75c7ecbd88f1805 /emacs/personal-lisp/chinese.el
parente421309a69747803731c15e913d1ff8a37a0cc69 (diff)
emacs config cleanup
Diffstat (limited to 'emacs/personal-lisp/chinese.el')
-rw-r--r--emacs/personal-lisp/chinese.el18
1 files changed, 18 insertions, 0 deletions
diff --git a/emacs/personal-lisp/chinese.el b/emacs/personal-lisp/chinese.el
new file mode 100644
index 0000000..4b01594
--- /dev/null
+++ b/emacs/personal-lisp/chinese.el
@@ -0,0 +1,18 @@
+;; chinese input stuff
+;; (require 'unicode-fonts)
+;; (unicode-fonts-setup)
+(require 'pyim)
+(require 'pyim-basedict)
+(pyim-basedict-enable)
+;; (require 'pyim-wbdict)
+(setq default-input-method "pyim")
+(setq pyim-default-scheme 'quanpin)
+;; (pyim-wbdict-v98-morphe-enable)
+;; (dolist (charset '(kana han symbol cjk-misc bopomofo))
+;; (set-fontset-font (frame-parameter nil 'font)
+;; charset
+;; (font-spec :family "FangSong" :size 15)))
+;; (setq rime-translate-keybindings
+;; '("C-f" "C-b" "C-n" "C-p" "C-g" "<left>" "<right>" "<up>" "<down>" "<prior>" "<next>" "<delete>"))
+;; (setq rime-share-data-dir "~/.local/share/fcitx5/rime")
+;; (setq rime-show-candidate 'popup)