how to make vim auto spelling-check while typing and after :wq
- To: mutt <mutt-users@xxxxxxxx>
- Subject: how to make vim auto spelling-check while typing and after :wq
- From: phyrster <phyrster@xxxxxxxxx>
- Date: Mon, 25 Jul 2005 17:04:57 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=Z/SYfsJgKf7JUwQPTV5J1GEl8CjlaoOiu2XGXmqIGSrBuWTudwU0iCOmP8rHPP8lq+lZgGP55SIg5sgtsIiqUlL5B7N61/zc6WzR8tearKiisYoUx9UHpxJuP2h6GPGG7r6cly0sbnRUtxnKE2RFExm+4wG/mqdJkJnknuanzwE=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt <mutt-users@xxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.9i
Hi mutters in mud ;)
How do you guys do spelling check? I am currently using these commands in my
.vimrc:
|:autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR>
|cab spell :w<CR>:!aspell -e -c %<CR>:e<CR><CR>
But can vim automatically check spelling while I am typing? or can it call
aspell after I save and exit vim?
I found this autocommand in from google, but not being able to use it:
|:autocmd VimLeavePre * call SpellingStuff()
another question, aspell and ispell, which one is more suitable for mutters?
regards
bxuef
--
dhammapada says:
Better than a thousand pointless verses is one stanza on hearing which
one finds peace. 101