Formatting an email for this list using vi

Ruben de Groot mail25 at bzerk.org
Mon Nov 17 08:21:39 PST 2003


On Mon, Nov 17, 2003 at 04:44:09PM +0100, Julien Gabel typed:
> >> I have just started learning to use vi, and remember someone posting
> >> something a while ago about how to re-format an email reply to have
> >> proper 60 character width or something like that, does anyone remember
> >> how that is done?
> 
> > When you're in the editor:
> >
> > :set wm=20
> >
> > will give 60 character wrap.  (ie 80-20 = 60) (Note, I've
> > done this here in this message and this is the wrap I'm
> > getting.
> 
> Don't forget to set the columns option to 80 in order to this
> tip to work. This option is set to 161 by default on my fresh
> 5.1-RELEASE installation.

I use ":set wraplen=72". Works regardless of column width.

Ruben

> --
> -jg.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list