Skip to content

Commit d874421

Browse files
committed
Move evil-pinyin from tools to chinese module.
1 parent 45926f6 commit d874421

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

modules/h-cheung/chinese/config.el

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,11 @@ input scheme to convert to Chinese."
160160
(setf (car str) (pinyinlib-build-regexp-string (car str)))
161161
str)
162162
(advice-add 'orderless-regexp :filter-args #'orderless-regexp-pinyin))
163+
164+
(use-package! evil-pinyin
165+
:when
166+
(featurep! :editor evil)
167+
:custom
168+
(evil-pinyin-scheme 'simplified-traditional-quanpin-all)
169+
:config
170+
(global-evil-pinyin-mode))

modules/h-cheung/chinese/packages.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
(package! rime)
66
(package! ace-pinyin)
77
(package! pinyinlib)
8+
(package! evil-pinyin)

modules/h-cheung/tools/config.el

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,3 @@
8787
(region-beginning) (region-end))))
8888
(delete-region (region-beginning) (region-end))
8989
(insert (utf7-decode string t)))))
90-
91-
(use-package! evil-pinyin
92-
:when
93-
(featurep! :editor evil)
94-
:custom
95-
(evil-pinyin-scheme 'simplified-traditional-quanpin-all)
96-
:config
97-
(global-evil-pinyin-mode))

modules/h-cheung/tools/packages.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@
1212
:recipe (:host github :repo "dhilst/emacs-pastebin" :fork "cnsunyour/emacs-pastebin"))
1313
(package! keyfreq
1414
:recipe (:host github :repo "dacap/keyfreq"))
15-
(package! evil-pinyin)

0 commit comments

Comments
 (0)