I want to remap evil-ex-search-previous to some other key than ,
.
I tried
(define-key evil-motion-state-map "," 'evil-avy-goto-char-in-line)
(evil-define-key 'normal magit-mode-map "," 'evil-avy-goto-char-in-line)
(evil-define-key 'visual magit-mode-map "," 'evil-avy-goto-char-in-line)
However none of it worked. Using which key I see, that ,
is still bound to the old key.
How can I change this?
,
? That's certainly not the default. Generally, check outevil-maps.el
for such questions.