Search code examples
vimtextformatting

Moving the cursor through long soft-wrapped lines in Vim


I'd like to use VIM to write papers for some classes I'm in. The problem I'm having is with the formatting of lines in the editor. If I don't explicitly break the end of a line with the enter key, when I try to move the cursor through the text, it skips multiple lines if I have a sentence that spans more than one line.

Is there any way to make it so that the cursor will be able to move through the text akin to the way it does in most word processors?


Solution

  • Have you tried the following in vim command line:

    :set nowrap