Full Emacs functionality in Insert mode
This commit is contained in:
parent
373024ac22
commit
2f816c8f91
1 changed files with 19 additions and 16 deletions
|
@ -300,6 +300,9 @@ Can we change Evil at this point? Some tips:
|
||||||
evil-escape-unordered-key-sequence t)
|
evil-escape-unordered-key-sequence t)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
(setq evil-insert-state-map (make-sparse-keymap))
|
||||||
|
(define-key evil-insert-state-map (kbd "<escape>") 'evil-normal-state)
|
||||||
|
|
||||||
(add-to-list 'evil-normal-state-modes 'shell-mode)
|
(add-to-list 'evil-normal-state-modes 'shell-mode)
|
||||||
(add-to-list 'evil-emacs-state-modes 'term-mode)
|
(add-to-list 'evil-emacs-state-modes 'term-mode)
|
||||||
(add-to-list 'evil-emacs-state-modes 'elfeed-search-mode)
|
(add-to-list 'evil-emacs-state-modes 'elfeed-search-mode)
|
||||||
|
|
Loading…
Reference in a new issue