Skip to content
Discussion options

You must be logged in to vote

Short answer

What you need to do is to unbind the s from evil-snipe-local-mode-map (in normal and motion states) to yield to keybinds in keymaps with lower precedence.

;;; add to $DOOMDIR/config.el
(map! :after evil-snipe
      :map evil-snipe-local-mode-map
      :nm "s" nil)

(map! :n "s" #'avy-goto-char-timer)

Long answer

  1. With (map! :map 'override "s" #'avy-goto-char-timer), the issue is that you quoted the override. The bind-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 override s everywhere because the override map has the highest precedence of (almost) all keymaps.

  2. avy-goto…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jdn06
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants