Derrick 'dman' Hudson wrote: >>> You can actually set many mutt specific options to your VIM this way. >> with some versions of vim, you can also do something like: >> >> :au VimEnter mutt-* set tw=72 wrap nosmartindent >> :au VimEnter mutt-* syntax on >> >> (this will apply the options to filenames starting with mutt-) > Even better, IMO : > > augroup Mail > au! > au FileType mail set tw=70 fo=tcrq2 nomodeline > au FileType mail set comments+=n:\|,n:%,n:\: > " clear the old sig and go back to the beginning of the buffer > au BufRead /tmp/mutt* normal :g/^| -- $/,/^$/-1d gg > augroup END
will 'FileType' (or ft) work with versions of vim prior to 6.x though? -- Will Yardley input: william < @ hq . newdream . net . >