evil-mode
does not seem to bind keys in the minibuffer. Is there a way to use evil
in the minibuffer? It's hard to use Vim-style keybindings everywhere BUT the minibuffer.
Asked
Active
Viewed 3,091 times
13
1 Answers
9
PR #1059 implemented this. Turn it on like this:
(setq evil-want-minibuffer t)
Watch out not to become too evil! :D

Keith Pinson
- 269
- 1
- 3
- 25

Alexander Shukaev
- 1,145
- 10
- 22
-
-
-
Is there an update to this which allows visually seeing which evil state the minibuffer is in? (For example,
viper
does this by changing the minibuffer text color.) – mtraceur Apr 05 '23 at 16:59 -
To be clear, I mean specifically seeing the
evil
state in the minibuffer in a terminal. In the GUI, the cursor is visual indicator enough, but sadly in many terminals the cursor doesn't visually change between insert and command mode. (Worst case scenario I can eventually figure out and copy whatviper
is doing to change minibuffer "face" depending on it's state, and figure out how to do something similar, but if something exists out-of-the-box that would be nice.) – mtraceur Apr 05 '23 at 17:31 -
Answering my own comment (I will eventually fork this into its own question, although I do think it's very relevant here too): there is no such feature in Evil that I've been able to find, but I eventually figured out how to implement it fairly easily. – mtraceur Apr 16 '23 at 16:34
-
As promised, I converted my last two comments into it's own question and answer, – mtraceur May 07 '23 at 22:56
:
). You can do that by using theq:
command. Even if it doesn't quite do what you want, it's super useful and well worth learning. – izkon Sep 29 '17 at 08:20