fix(chinese): evil-escape interfering w/ input method
Close: #6482 Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
This commit is contained in:
parent
8658145447
commit
4594aaa7cd
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@
|
||||||
(setq pyim-page-tooltip t
|
(setq pyim-page-tooltip t
|
||||||
default-input-method "pyim")
|
default-input-method "pyim")
|
||||||
|
|
||||||
|
(after! evil-escape
|
||||||
|
(defun +chinese--input-method-p ()
|
||||||
|
current-input-method)
|
||||||
|
(add-to-list 'evil-escape-inhibit-functions #'+chinese--input-method-p))
|
||||||
|
|
||||||
;; allow vertico/selectrum search with pinyin
|
;; allow vertico/selectrum search with pinyin
|
||||||
(cond ((modulep! :completion vertico)
|
(cond ((modulep! :completion vertico)
|
||||||
(advice-add #'orderless-regexp
|
(advice-add #'orderless-regexp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue