current blog subscriptions

Sunday, February 13, 2011

ubuntu 10.10 added spell check and cursor position for mutt + vim

added this line to ~/.muttrc
set editor="vim -c \"set spell spelllang=en\" '+/^$'"


I found out the best wat to do this is to create a ~/.vim/after/ftplugin/mail.vim file and add the options in there. Then edit the ~/etc/vim/vimrc file to include the ":filetype plugin on" syntax.

No comments:

Post a Comment