Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 13:26:32 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        FreeBSD <questions@freebsd.org>
Cc:        Frederick <freebsd-questions@freebsd.org>
Subject:   Re: Formatting an email for this list using vi
Message-ID:  <20040127122632.GA62456@ei.bzerk.org>
In-Reply-To: <4360000.1069076094@[192.168.0.5]>
References:  <.128.250.18.41.1069023480.squirrel@www.k1x.org> <4360000.1069076094@[192.168.0.5]>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127122632.GA62456>