Question

I have two questions, looking for some plugins or something that can:

  1. Break lines automatically as you type?
  2. Break lines afterwards?

Say, I always want it to be broken at 80. Either justified or aligned to the left is fine.

Was it helpful?

Solution

To get automatic wrapping set the textwidth option.

To wrap a bunch of text you can use the gq command.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top