在某些控制台上无法在 VI 中使用箭头
可能的重复:
Linux vi 箭头键在插入模式下损坏
当我使用 vi 时在某些控制台中,我可以正常使用箭头。但在其他情况下,如果我按向上箭头,它会打印“A”。然后我必须按转义键才能正常使用箭头。
我猜这是终端配置中的一些东西。我该如何解决这个问题?
Possible Duplicate:
Linux vi arrow keys broken in insert mode
When I use vi in some consoles, I can use the arrows normally. But in others if I press the up arrow, it prints an "A". I then have to press escape to use the arrows normally.
I'm guessing it's something in the terminal configuration. How do I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用 Vim 而不是 vi。我在大学被迫使用 vi。太糟糕了。
Try using Vim instead of vi. I was forced to use vi at uni. It's crap.