Skip to main content
added 207 characters in body
Source Link
Maja Piechotka
  • 17k
  • 12
  • 61
  • 93

One of the most annoying features of vim is splitting lines. For some reasons someone found it would be good to split lines even in whitespace sensitive formats. For example changing:

echo very-long-string > file

to

echo
very-long-string
> file

How to turn it off?

Edit: It is not visual wrap - it is wrapped in file (i.e. vim inserts \n in file if it considers line too long). Wrapping long lines is sane and while one may want to turn of I can live without it.

One of the most annoying features of vim is splitting lines. For some reasons someone found it would be good to split lines even in whitespace sensitive formats. For example changing:

echo very-long-string > file

to

echo
very-long-string
> file

How to turn it off?

One of the most annoying features of vim is splitting lines. For some reasons someone found it would be good to split lines even in whitespace sensitive formats. For example changing:

echo very-long-string > file

to

echo
very-long-string
> file

How to turn it off?

Edit: It is not visual wrap - it is wrapped in file (i.e. vim inserts \n in file if it considers line too long). Wrapping long lines is sane and while one may want to turn of I can live without it.

Source Link
Maja Piechotka
  • 17k
  • 12
  • 61
  • 93

Turning off splitting lines in vim

One of the most annoying features of vim is splitting lines. For some reasons someone found it would be good to split lines even in whitespace sensitive formats. For example changing:

echo very-long-string > file

to

echo
very-long-string
> file

How to turn it off?