4
I am using formatoptions
to format my files. But if I have a new line character in my tex file, Vim joins the lines, removing this character. How to define in Vim the hard wraping without joining lines?
UPDATE:
I can observe this when I execute the following commands
ggVGgq
1That's what that sequence of commands is supposed to do. If you want to wrap lines longer than 'textwidth' without joining any lines, use this instead:
:g/./normal gqq
That will execute thegqq
(format this line) command on each line in your file individually. – garyjohn – 2013-05-08T22:35:19.760