Formatting an email for this list using vi

Julien Gabel jpeg at thilelli.net
Mon Nov 17 07:44:14 PST 2003


>> 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.
--
-jg.


More information about the freebsd-questions mailing list