比方说用bind-key的话,如果用绑定的话,终端里面不能识别出来,如果是用ESC的话,好像会影响到Meta的样子。 正确的做法应该是什么样的?
When enabled,
evil-esc-mode
modifies the entry of \e ininput-decode-map
. If such an event arrives, it is translated to a plain'escape
event if no further event occurs withinevil-esc-delay
seconds. Otherwise no translation happens and the ESC prefix map (i.e. the map originally bound to \e ininput-decode-map
) is returned."
1 个赞
多谢,原来这么复杂,我还以为有很简单的一个方案。。。