Closed yunhao94 closed 3 years ago
This a general limitation of evil keymaps. Adding (evil-normalize-keymaps)
to the end of your repro steps fixes the issue. It is necessary to call this function whenever a new minor mode keymap (with evil state keybinds) is defined, unfortunately.
I'll switch out evil-define-key*
for evil-define-minor-mode-key
(which was written to address this issue, iirc) and see if it addresses the problem well enough.
Sorry for the tremendously late reply. 1f3ba0d should fix this issue.
Environment
Reproduction steps
emacs -Q
M-x package-initialize
M-x evil-mode
M-x evil-snipe-override-mode
C-h k f
Expected behavior
evil-snipe-f
Actual behavior
evil-find-char