emacs - Start evil mode in insert for some buffers -



emacs - Start evil mode in insert for some buffers -

i set buffers opened in insert mode in evil.

for illustration in read-only buffers there no point in having normal mode since can't utilize q exit have q. annoying interactive modes produce error buffers.

what have been trying , failed follows:

(evil-set-initial-state view-mode 'insert)

you can modify variable evil-insert-state-modes, holds list of modes should started in insert state:

(add-to-list 'evil-insert-state-modes 'view-mode)

there analogous variables emacs state, normal state, etc.

emacs evil-mode

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -