I am using doom emacs and in my init file I have (dired +ranger)

The problem is when I open dired, I cannot press tab to select for example. I have first to toggle off evil-mode. If I do, I lose all doom key bindings.

There should be a work around as in regular dired, I didn't have to toggle off evil mode and doom still working!

1 Answer 1


You could add dired-mode and ranger mode to variable "evil-emacs-state-modes": (add-to-list 'evil-emacs-state-modes 'dired-mode)

  • I think OP wants to use evil in dired with ranger, not switch to emacs state.
    – Dan
    Jun 3, 2021 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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