简体   繁体   English

xterm中vim中的功能键

[英]functional keys in vim in xterm

Functional keys (F1-F12) for vim in console don't work. 控制台中vim的功能键(F1-F12)不起作用。 But the worst thing is when I hit such key, vim stays in some "mode" not allowing me to type anything for 2s... Very annoying 但是最糟糕的是,当我按下这样的键时,vim停留在某种“模式”下,不允许我输入2秒钟的内容...非常烦人

Another thing is after pressing Esc key vim pause for about 0.5s before go to normal mode.. But this is only happening in screen , even I set 另一件事是在按Esc键后,vim暂停了约0.5s之后才进入正常模式。但这只是在屏幕上发生,即使我设置了

export TERM=xterm

Anybody has some clean and short solution? 有人有一些简洁的解决方案吗?

Sounds like some disagreement between the byte sequences vim thinks the terminal is going to send, and the sequences it actually does. 听起来好像vim认为终端要发送的字节序列与其实际执行的序列之间有些分歧。

Also the half-second delay is a consequence of having some mappings that start with Escape. 半秒延迟也是由于某些以Escape开头的映射的结果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM