<<< Date Index >>>     <<< Thread Index >>>

Re: wrap long lines?



On Mon, Sep 29, 2003, Bastiaan Cuppen wrote:
> hitmedia <ezmlm@xxxxxxxxxxxx> wrote:
> > If I may piggy-back on his question:
> > 
> > How do I have my OUTGOING emails (things I type) automatically wrap
> > at a certain # of characters?
> > 
> > Right now I'm using the default editor (vi) and just hit return when
> > it feels I've reached a goot place to hit return.  But I'd rather 
> > just type away and let the program wrap it for me, before sending.
> > 
> > Any hints?
> 
> In your muttrc,
> set editor="vim +/^$ -c 'set tw=72 ft=mail'"
> 
> Please note that vim isn't vi. It's vi improved.

For vi, you need to set wm (wrapmargin) in your .exrc.  The setting is
how many characters from the right margin, so 10 is probably a good
setting if you use a screen of 80 characters wide.  Not as intuitive
as vim's tw for this purpose, but it works.  I am 99% sure on this
one.


-Ken