[英]How to move to the end of the continuous line by pressing keys in command line in vim editor
[英]How to move to next line by pressing l at the end of line in VIM?
假设我的光标在一行的末尾。
1 this is first line⚿
2 next line here
我知道我可以通过点击j
移动到下一行,但是如果我的手指已经在l
之上,那就太l
。 那么我需要做什么重新映射才能通过按行尾的右箭头或l
来模拟转到下一行开头的现代行为? 同样,如何通过在当前行的开头按h
到达上一行的末尾?
使用 whichwrap 选项:
:set whichwrap=lh
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.