Formatting an email for this list using vi

Michael D Hughes mdh at jcn.net
Tue Jan 27 11:53:58 PST 2004


 I use par to formatted/reformatted my emails.

> = Copied from message sent on Tue Jan 27 06:26:32 2004
    by Ruben de Groot Subject:Re: Formatting an email for this list using vi.
> 
> 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"
> _______________________________________________
> 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"
> 
> 
> 


-- 
Michael D Hughes                                Loghome living is the best!
mdh at jcn.net


More information about the freebsd-questions mailing list