-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sis-global-respect-mode
和前缀键开始的键盘宏有冲突
#37
Comments
meow 的 keypad 也有这样的问题。是否可以通过 |
遇到了同样的问题,请问现在有解决方案了吗 |
;; WORKAROUND: conflicts with keypad
(add-hook! meow-leave-insert-mode-hook #'sis-prefix-override-buffer-disable)
(add-hook! meow-enter-insert-mode-hook #'sis-prefix-override-buffer-enable)
(add-hook! (meow-normal-mode meow-motion-mode)
(defun +sis-meow-set-english ()
(when (or meow-normal-mode
meow-motion-mode)
(sis-set-english))))
;; WORKAROUND: conflicts with kbd macro
(defadvice! +sis-disable-prefix-override (&rest _)
:before #'start-kbd-macro
(sis-prefix-override-buffer-disable))
(defadvice! +sis-enable-prefix-override (&rest _)
:before #'end-kbd-macro
(when (bound-and-true-p meow-insert-mode)
(sis-prefix-override-buffer-enable))) |
遇到相同的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
开启
sis-global-respect-mode
后 ,定义出以前缀键开始的键盘宏就会有问题,比如图中演示的C-x o
,Emacs版本是28.0.5。The text was updated successfully, but these errors were encountered: