Formatting an email for this list using vi
gv-list-freebsdquestions at mygirlfriday.info
Mon Nov 17 05:34:58 PST 2003
--On Monday, November 17, 2003 09:58:00 AM +1100 Frederick Bowes
<fred at k1x.org> wrote:
> 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?
Well, I use VIM instead of VI, it is an "enhanced version"
For automatic settings, set up a .vimrc file in your home dir.
:set tw=74 (to set your text width)
Or you can add this in manually on the VI command line after starting it.
Now to refomat an email, while preserving the > on previous quoted text,
type in ESC gqip
More information about the freebsd-questions