Dave Goodrich wrote: > On Wed, Jul 10, 2002 at 04:08:23PM -0400, John P Verel wrote:
>> Be sure you've got your editor set up correctly. I use vim as my >> editor. In my .vimrc, I've got textwidth=72, which makes all come out > I use VIM for everything including code, so I don't like my editor to wrap > by default. I added this to my .muttrc and it works perfectly. > > set editor="vim -u $HOME/.vimrc -c ':set textwidth=74 wrapmargin=4'" > > 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-) this works for me with 5.8.5 and 6.1... i think it will work with other 5.x versions as well. -- Will Yardley input: william < @ hq . newdream . net . >
