I have the following in my init.el
, and it does a great job of automatically disabling evil in certain emacs modes:
(dolist (mode '(git-rebase-mode
flycheck-error-list-mode
inf-ruby-mode
term-mode))
(add-to-list 'evil-emacs-state-modes mode))
However, this will not work for help-mode
, which is frustrating, as help-mode
has some great keybindings I'd like to take advantage of. I've also tried this: (add-to-list 'evil-emacs-state-modes 'help-mode)
, but it didn't work either.
How can I turn off evil in help-mode
?