mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(chinese): evil-escape interfering w/ input method
Close: #6482 Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user