On Mon, May 07, 2001 at 12:03:32AM -0500, will trillich wrote:
> [snip]
> aha. BUT the key is, how to get VIM to know when you're editing a
> MUTT file... and set configs accordingly?
> 
> i'm sure there are several ways --
> 
>       #~/.muttrc
>       set editor="vim -c tw=64"
> 
> or
> 
>       #~/.vimrc
>       augroup mail
>               au!
>               autocmd BufRead,BufNewFile .letter,mutt*,nn.*,snd.* set tw=64
>       augroup END
> 
> tmtowtdi, that's for sure.

Yep, I like the shorter

au FileType mail set textwidth=72 formatoptions=t

-Rob

Reply via email to