On Thu, Sep 13, 2001 at 11:40:17PM -0500, [EMAIL PROTECTED] wrote:
| hi all...  is there a way to get mutt to load vi using a different rc file?

You probably want this so that you can have different settings for
writing mail messages than when you edit other files.  If you use vim,
you can add a section to your .vimrc like this :


augroup Mail
    au!
    au FileType mail set tw=70 fo=tcrq
    au FileType mail set comments+=n:\|
augroup END


Vim knows how to detect when it is wrting a mail message and set's the
filetype to 'mail'.  Then it runs any autocommands associated with the
filetype which in my case adjusts the text width, formatting options
and adds my quote leader to the comments field (so it is colored
properly).

HTH,
-D

Reply via email to