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).
精彩评论