Re: [Hampshire] Vim spell checking

Top Page

Reply to this message
Author: Philip Stubbs
Date:  
To: hants, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] Vim spell checking
* Damian Brasher (lug@???) wrote:
>
> Hi List
>
> Does anyone use a spell checker in Vim? Can you advise the best method and
> how to implement it?
>
> Thanks in advance


I use aspell. I have the following line in my .vimrc file

map <F7> :w!<CR>:!aspell --mode=email -c %<CR>:e<CR>

When I press F7, the file in the editor is spell checked. I use vim
as my email editor for mutt, so having the email mode means it skips
most of the headers and all the quoted text.

--
Philip Stubbs
http://www.stuphi.co.uk