Formatting an email for this list using vi
Ruben de Groot
mail25 at bzerk.org
Tue Jan 27 04:24:24 PST 2004
On Mon, Nov 17, 2003 at 07:34:54AM -0600, Gary typed:
> Hi Frederick,
>
> --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.
>
> Add in:
>
> :set tw=74 (to set your text width)
Or in FreeBSD's stock vi incarnation (nvi), you put the line
set wraplen=72
in $HOME/.exrc
Ruben
> 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
>
> --
> Gary
> _______________________________________________
> 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