开发者

gVim windows; how to get h and l to move over newlines

I've searched for this but I can't find it anywhere. When I am in command mode moving through text if开发者_StackOverflow社区 I get to the end of a line and press l the cursor doesn't move to the beginning of the next line and the editor beeps. Same thing if I am at the beginning of a line and press h I would like it to move to the end of the preceding line.

Is there some simple command in _vimrc I can use to enable this type of movement behavior?


put the following in your _vimrc:

set whichwrap=<,>,[,],h,l
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜