[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt & vim



On Tue, Nov 24, 1998 at 15:08:13 +0000, Dave Swegen asked:
> I'm currently using pico as the composer for mutt, but would like to
> switch to vim. Problem is that I have vim setup for programming in .vimrc,
> and need different settings for mail composition. So how do I go about
> telling vim to use a different vimrc when called from mutt?

On Tue, Nov 24, 1998 at 19:33:35 +0100, Peter Berlau suggest:
> On Tue, Nov 24, 1998 at 03:08:13PM +0000, Dave Swegen wrote:
> try.
> in Your ~/.muttrc
> 
> set editor="vim -u {vimMuttrc}"

While this works, the more general solution is to use vim's autocommand
feature to have different settings for different file names.

In frozen's vim packages, there's /usr/doc/vim-rt/examples/mail which shows
you how I've configured vim for mutt and slrn.

HTH,
Ray
-- 
Tevens ben ik van mening dat Nederland overdekt dient te worden.


Reply to: