-
I confirm that...
What is your question?I simply tried to remap the s key in normal mode from evil-snipe to avy-goto-char-timer. But with something simple like in config.el : System information |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
OK I think I found it: |
Beta Was this translation helpful? Give feedback.
-
Actually it is not a good solution. I cannot type anymore the s letter in insertion mode! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you for your very clear answer and for all the great work on this! |
Beta Was this translation helpful? Give feedback.
Short answer
What you need to do is to unbind the
s
fromevil-snipe-local-mode-map
(in normal and motion states) to yield to keybinds in keymaps with lower precedence.Long answer
With
(map! :map 'override "s" #'avy-goto-char-timer)
, the issue is that you quoted theoverride
. Thebind-key*
snippet you eventually landed on is equivalent to(map! :map override "s" #'avy-goto-char-timer)
. But you don't want this either, because this will overrides
everywhere because the override map has the highest precedence of (almost) all keymaps.avy-goto…