1

My lines break when I am typing beyond a certain length in vim, but afterwards, if I move up one line and type J, the line will reconnect.

So it is apparently not a matter of fixed length. I would like the line not to break while typing. Is there a setting enabling this in .vimrc?

guntbert
  • 1,245
  • 1
  • 13
  • 27
barnhillec
  • 121
  • 4

1 Answers1

1

From :h 'textwidth':

Maximum width of text that is being inserted. A longer line will be broken after white space to get this width. A zero value disables this.

Jake Grossman
  • 1,643
  • 1
  • 4
  • 16