Add vterm-mode to evil-escape-excluded-major-modes

`jk` doesn't work as expected in `vterm`. 

Do I need to also check for `vterm` feature flag?
This commit is contained in:
Arif Rezai 2019-04-01 10:56:47 +09:00 committed by GitHub
parent be6efd8dbf
commit 0cfbdc1f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -221,7 +221,7 @@ line with a linewise comment.")
:after-call (evil-normal-state-exit-hook)
:init
(setq evil-escape-excluded-states '(normal visual multiedit emacs motion)
evil-escape-excluded-major-modes '(neotree-mode treemacs-mode term-mode)
evil-escape-excluded-major-modes '(neotree-mode treemacs-mode term-mode vterm-mode)
evil-escape-key-sequence "jk"
evil-escape-delay 0.25)
(evil-define-key* '(insert replace visual operator) 'global "\C-g" #'evil-escape)