5

At the moment, my width is set to 80.

when a new line starts, it doesn't take the whole word to the next line. Instead, it takes the lagging letters. Which setting changes this behavior?

Vinn
  • 761
  • 1
  • 6
  • 17

1 Answers1

10

You can use :set linebreak which will make Vim (soft-)break the lines on whitespace and other characters. To which characters exactly, can be further customized using the 'breakat' setting.

See the help for an extensive description (just follow the links).

Christian Brabandt
  • 25,820
  • 1
  • 52
  • 77