Closed NightMachinery closed 6 years ago
(when evil-snipe-override-evil-repeat-keys
(evil-define-key* 'motion map
"n" #'evil-snipe-repeat
"N" #'evil-snipe-repeat-reverse))
This bit may be more destructive than you intended. It will overwrite the default commands bound to n
/N
if you use evil-snipe-override-mode
, effectively replacing whatever Spacemacs binds to n/N (or evil-ex-search-next
/evil-ex-search-previous
; which are evil's defaults).
I think binding n/N in evil-snipe-parent-transient-map
should be good enough, however, these keys are only available directly after a snipe.
Hope that helps!
I am using Spacemacs, and here the default search keys are n and N. I am using this workaround in the meantime:
Is this workaround safe, BTW? I load it in my init.el, and it works.