Browse Source

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.
custom
roryk 12 years ago
parent
commit
d757699536
  1. 3
      modules/prelude-evil.el

3
modules/prelude-evil.el

@ -48,6 +48,9 @@
(setq evil-insert-state-cursor '("gray" bar))
(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)
(global-evil-surround-mode 1)

Loading…
Cancel
Save