Re: Wrapping lines in VI
On Mon, Apr 03, 2000 at 05:36:18PM +0100, Paul J. Keenan wrote:
> On Mon, Apr 03, 2000 at 05:47:07PM +0200, Radim Gelner wrote:
> > This is a newbie question to vi:
> > I want the text at the vi to wrap nicely a the end of the line so
> > that I do not have to press Enter after every line. I set up the
> > wrapmargin variable in vim. But what do I do, when I rearrange the
> > text and want to wrap it again paragraph after paragraph to get
> > rid of 'dents'?
> > Thanks,
> > Radim
> I'm not sure what 'wrapmargin' does - I use textwidth to do wrapping
> at the end of the lines.
> For reformatting existing paragraphs, do :
> :help gq
I have a feeling that the above command is vim specific, so may not work
on all vi clones.
Please correct me if I am wrong.