可以在移动光标时让Vim跳到下一行吗?

huangapple go评论63阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月8日 18:25:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/76430908.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定