如何正确的绑定esc按键

比方说用bind-key的话,如果用绑定的话,终端里面不能识别出来,如果是用ESC的话,好像会影响到Meta的样子。 正确的做法应该是什么样的?

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 个赞

多谢,原来这么复杂,我还以为有很简单的一个方案。。。