> > Believe it or not, I actually do know where the "i" key is, but what 
> > I couldn't figure out was how to use it. 
> 
> I know; I was having fun at your expense. I suppose humor doesn't 
> translate well in email, even with smileys. Sorry, I didn't mean to 
> offend.
> 
> > What I expected to be able to do was to invoke the spell checker 
> > directly from within vi, which is no doubt possible, but which so 
> > far eludes me.
> 
> Ah! Of course, this is indeed quite possible, but nothing you do to 
> your mutt configuration files will really affect vi much (except the 
> value of $editor, for obvious reasons).
> 
> How to run a spellchecker in vi depends on what version of vi you're 
> using. Ancient standards-compatible vi may not have a good way. If 
> you're using vim (as most vi folk are), then the technique depends on 
> what version of vim you're using. If you're using version 7.0 and 
> beyond, all you need to do is run
> 
>      :set spell
> 
> (in vim) and it will spellcheck whatever you're editing. If you're 
> using an older version, you'd have to do something like this:
> 
>      :!ispell %
> 
> I used to (before I got vim7) have the following spelling macro in my 
> vimrc:
> 
>      autocmd FileType mail command aspe ':w<CR>:!aspell -e -c %<CR>:e<CR><CR>'
> 
> Which allowed me to trigger aspell (an ispell alternative with a nicer 
> interface) on my email by executing
> 
>      :aspe
> 
> If you're using something like vile or elvis or one of the other 
> vi-like programs, you'd have to check with their documentation to see 
> what would work.
> 
> > Nevertheless, once you pointed out to me where the real 
> > compose screen exists, I find that I really do have a workable spell 
> > checker.
> 
> Excellent! :)
> 
> ~Kyle


Not to worry...no offence was taken.  Besides, one of my best assests is a 
rather thick skin.  So, ispell works
well enough (although I have heard that aspell is better), but you have 
motivated me to look into vim.  I
have become rather attached to vi, and have taken some pains to learn to use 
it.  Unfortunately, there is now
only vim and vim6 in the FreeBSD ports collection.

Rem

Reply via email to