[wplug] Automatic spell check from mutt

Mike Procario lists at procario.org
Tue Aug 26 00:06:22 EDT 2003


I have never worked with autocmd. I will look into it but I need
to be able to only trigger the spell check from email and some
other files. Perhaps I need a special .vimrc file just for email.
Spell checking python  or C could get tedious. 

Mike
On Mon, Aug 25, 2003 at 10:35:24PM -0500, Brian Medley wrote:
> 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_/'
>  _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
> ~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 



More information about the wplug mailing list