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

Re: mutt and vi



On Fri, Sep 14, 2001 at 06:46:35PM -0500, xucaen@yahoo.com wrote:
> On Fri, Sep 14, 2001 at 08:34:45AM +0200, Danie Roux wrote:
> > On Thu, Sep 13, 2001 at 11:40:17PM -0500, xucaen@yahoo.com wrote:
> > > hi all...  is there a way to get mutt to load vi using a different rc file?
> >  
> > Yes, but if you by vi mean Vim, then the best way to do this is with
> > autocmds.
> > 
> 
> Is autocmds a vi thing or a mutt thing?
 
It's a Vim thing. You can have commands being executed on certain
events, like before writing the file. One of the autocmds is FileType.
So on FileType mail you can change everything you want for email.

-- 
Danie Roux *shuffle* Adore Unix



Reply to: