[wplug] Automatic spell check from mutt
Brian Medley
bpm-list-wplug at 4321.tv
Mon Aug 25 23:35:24 EDT 2003
On Mon, Aug 25, 2003 at 10:33:26PM -0400, Mike Procario wrote:
> from mutt after I have finished editing my message, but what I
> would like is that as soon as I quit vim, then aspell or ispell
> gets run automatically. I cannot seem to find a hook for after the
> message is written and before it is sent.
Have you considered a vim autocmd?
:autocmd VimLeavePre * call SpellingStuff()
:help autocmd
You can probably put it in ftplugin/mail.vim file in ~/.vim.
--
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/ (___) \|/ _,.-=~'`^`
@~./'O o`\.~@
"Knowledge is Power" /__( \___/ )__\ *PPPFFBT!*
-- Francis Bacon `\__`U_/'
_,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
More information about the wplug
mailing list