英文:
Can You Make Vim Move to Next Line When Moving Cursor
问题
如果我的光标在行尾,再次按右箭头键,它会像普通文本编辑器一样移到下一行。这个是否可以实现?
英文:
If my cursor is at the end of the line and I press right again it will move to the next line like a normal text editor. Is this possible to do?
答案1
得分: 2
":help 'whichwrap'" 是你要寻找的选项。
我不确定你在 Vim 之旅的哪个阶段,但在经过多年的默认行为经验后,感觉非常奇怪。
英文:
:help 'whichwrap'
is the option you are looking for.
I'm not sure at which stage of your Vim journey you are, but it feels very weird after years of experience with the default behavior.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论