开发者

When navigating through word-wrapped text in VIM, how to make the selector move onto wrapped line sections?

The behaviour I want is the behaviour in most text editors and office applications (that aren't designed with programmers in mind). This makes it quicker to get to the centre of large paragraphs.

开发者_C百科

Thanks.


I'm not certain that I understand your question, but try the commands gj and gk, instead of j and k. I think they do what you want. I've put together a screencast with a few tips for working with 'soft wrapped' text (which I guess is the same as 'word-wrapped' text).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜