Fix for ESC -> meta in terminal mode.
If you hit esc-key in terminal mode very quickly, it gets interpreted as meta-key, which makes evil-mode unusable in terminal mode. The default value of 0.01 doesn't completely fix this behavior, but setting it to 0 does. The meta key still works fine with it at 0.
This commit is contained in:
parent
275289a497
commit
d757699536
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@
|
||||||
(setq evil-insert-state-cursor '("gray" bar))
|
(setq evil-insert-state-cursor '("gray" bar))
|
||||||
(setq evil-motion-state-cursor '("gray" box))
|
(setq evil-motion-state-cursor '("gray" box))
|
||||||
|
|
||||||
|
;; prevent esc-key from translating to meta-key in terminal mode
|
||||||
|
(setq evil-esc-delay 0)
|
||||||
|
|
||||||
(evil-mode 1)
|
(evil-mode 1)
|
||||||
(global-evil-surround-mode 1)
|
(global-evil-surround-mode 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue