On Sat, Mar 11, 2000 at 04:50:02AM +0000, j mckitrick wrote:
> i realize this is a bit off subject because it is somewhat of an
> editor problem, but it applies to mutt as well. I started using xterm
> with a smaller font, so more words fit per line. I got complaints
> about my word wrap. I have word wrap margin set to 10 in vi, but that
> isn't helping, i guess. Is there a better way?
What you want to achieve is a line length of something less than 80
characters--72 is often recommended--in your outgoing mail. If you are
using 'vim', then you can do this by setting textwidth to 72 ("set
tw=72"). If you are actually using 'vi', then you will need to set
wrapmargin to the width of your xterm window minus 72.
You'll also need to watch your line lengths as you edit your text. The
textwidth or wrapmargin settings alone won't do that automatically.
'vim' has a built-in formatting command (gq) that does that. With 'vi',
you can use an external command such as 'fmt'. The 'vim' "gq" command
also handles text quoted with a leading ">", so I was able to reformat
your paragraph above by simply typing "gqip".
--
Gary Johnson | Agilent Technologies
[EMAIL PROTECTED] | RF Communications Product Generation Unit
| Spokane, Washington, USA