How do use emacs-state in certain modes?
ofv at wanadoo.es
Sun Feb 1 04:01:19 CET 2015
jenia.ivlev at gmail.com (jenia.ivlev) writes:
> I want to use emacs-state in term-mode and undo-tree-mode.
> How do I achieve that?
> I tried:
> (add-to-list 'evil-emacs-state-modes undo-tree-mode)
> This didn't work for some reason.
> So again, What should I do to be in emacs-state in term-mode for
You need to quote the name of the mode:
(add-to-list 'evil-emacs-state-modes 'undo-tree-mode)
Alternatively, you can switch to Emacs mode anytime with C-z.
More information about the implementations-list