> Here on winxp I get that menu too.
>
> And the command is :spellgood! (for the cmdline) or zG for Normal
> mode.
> :h zG
On Jun 25, 2011, at 3:26 PM, Seth Milliken wrote:
> Sounds like you want 'zW'. The 'ignore <word>' menu item adds a word
> to the internal word list (see :help internal-wordlist).
On Jun 25, 2011, at 1:53 PM, Tim Gray wrote:
> That command, and the version that adds a word to the spellfile (zg) are both in the Vim help file (:help spell). There is also a section on the spellfile, the internal-wordlist, and there differences.
Thanks Andy, Seth, and Tim. Turns out I was a bit confused when I asked for help with this. In some of my writing I don't bother with capitalization, in other I do. I thought that the ignore word option presented in the contextual menu was different from the zg, zG, zw, zW commands in that it didn't add words to any list, and that it would provide a way to avoid selection of lower-case words when I'm not capitalizing while preserving it when I am.
Clearly if a word is going to be ignored it will need to be in a list somewhere. Likewise, how is spell to distinguish when a lower-case version of a word that is normally capitalized is OK and when it is not? I imagine that could be arranged, e.g., with filetypes, but it's not important enough to me to go to the trouble. My capitalization practice has to become consistent.
I've used zg to add many normally capitalized lower-case words to the word list. Now I need to remove them. I take it that could be done by using zw on these words and then running the spellfile-cleanup command. However, I don't know which lower-case words I've used zg on and which I haven't.
I would recognize them if I saw them in a file. Help indicates that there are files to which words on which zg and zw have been used are added. I've looked for them in /spell/en in the runtime folder but don't see any files there with the spl extent. If anyone could point me to them I would be grateful.
Thanks,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net
--
You received this message from the "vim_use" 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
No comments:
Post a Comment