[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vi, vim, and 72 chars
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: vi, vim, and 72 chars
- From: Chris Palmer <cecibean_(_at_)_bitstream_(_dot_)_net>
- Date: Thu, 26 Jul 2001 17:50:06 -0700
On 26 Jul Matthew Weigel wrote:
> Unfortunately, fmt doesn't preserve quote characters, so the '>'s end
> up all over the place.
I use vim to edit emails, with Mutt as the MUA. I have a special .vimrc
Then, to format a paragraph (and doing `>' quotes right), go to the
beginning of the paragraph and do `gq}' in command mode.
In your mailer's config, tell it to invoke vim with this .vimrc. I do it
like this in Mutt (put this in your .muttrc):
set editor = "vim -n -u ~/.vimrc-mutt"
Visit your host, monkey.org