I am using Evil-mode which creates a vi-layer in Emacs. This means you have different modes (e.g., NORMAL; INSERT; VISUAL). Unfortunately this also happens at times when I do not want to be in NORMAL mode. For example when an error pops up in the Cider REPL I want to be able to press q
and exit the buffer immediately. Not iq
(change to insert mode and quit). Same for the NeoTree navigation where I want to press ENTER
to open a directory structure. Instead I have to press i ENTER
(change to insert mode and open directory).
Example where I want to press ENTER on the left side, but I have to enter insert mode :
Is it possible to configure Emacs/Evil-mode in such a way that in the case of non text-editing Windows (like NeoTree navigation, REPL or Cider Errors) I can press the normal commands without having to switch to INSERT mode first?