1

When searching for text in evil mode using / key, then entering text. The value searched for isn't saved as it is in vim, where the up/down arrow keys can cycle search history.

Is it possible for emacs/evil mode to store each search as it does with : commands?


Update, isearch keys aren't configured for vim-like behavior.

I looked into this and the isearch keymap can be modified, will add own answer.

3

You will find things more vim like with the evil search module rather than isearch search module with evil :

(setq-default evil-search-module 'evil-search)
0

To have up/down arrow keys cycle history as with vim, you can define isearch keymap.

(define-key isearch-mode-map (kbd "<down>") 'isearch-ring-advance)
(define-key isearch-mode-map (kbd "<up>") 'isearch-ring-retreat)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.