# 如何正确的绑定esc按键

https://github.com/emacs-evil/evil/blob/d14a349fcf7acf429ab9aa5e0faf43c816559fe7/evil-core.el#L593

When enabled, `evil-esc-mode` modifies the entry of \e in `input-decode-map`. If such an event arrives, it is translated to a plain `'escape` event if no further event occurs within `evil-esc-delay` seconds. Otherwise no translation happens and the ESC prefix map (i.e. the map originally bound to \e in `input-decode-map`) is returned."

1 个赞