On Jun 8, 2011, at 8:09 PM, David Patrick Henderson wrote:

> On 08 Jun 2011, at 14:48, Eric Weir wrote:
> 
>> Checking the help on spell, one of the comments was that it loads the entire 
>> dictionary, apparently a large file, into memory, and that it can slow 
>> things down. I don't work with very big files. Max would be 15 to 20 pages 
>> of plain text. I assume having spell on all the time is not going to be a 
>> problem for me. [I have two Gb of RAM.]
> 
> If you find it to be problematic, you turn it on and off in the vim command 
> line:
> :set(local) (no)spell
> 
> Probably better to make the spelling checker local to the current buffer 
> using ‘setlocal’ 

Thanks, David -- on both counts. At Tim's suggestion, I have the following in 
my .vimrc.

        au FileType txt setlocal spell spelllang=en_us

Will the setlocal in that take care of it?

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
eew...@bellsouth.net




-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to