Domanda

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.

È stato utile?

Soluzione

To get automatic wrapping set the textwidth option.

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top