Mercurial > vim
comparison runtime/doc/spell.txt @ 488:f00f0af2a320
updated for version 7.0133
author | vimboss |
---|---|
date | Sun, 21 Aug 2005 22:17:52 +0000 |
parents | f012c4ed8c38 |
children | 21c3634c2113 |
comparison
equal
deleted
inserted
replaced
487:22d78e265947 | 488:f00f0af2a320 |
---|---|
1 *spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 19 | 1 *spell.txt* For Vim version 7.0aa. Last change: 2005 Aug 21 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
122 spelled words. This also works to find alternatives | 122 spelled words. This also works to find alternatives |
123 for a word that is not highlighted as a bad word, | 123 for a word that is not highlighted as a bad word, |
124 e.g., when the word after it is bad. | 124 e.g., when the word after it is bad. |
125 The results are sorted on similarity to the word | 125 The results are sorted on similarity to the word |
126 under/after the cursor. | 126 under/after the cursor. |
127 This may take a long time. Hit CTRL-C when you are | 127 This may take a long time. Hit CTRL-C when you get |
128 bored. | 128 bored. |
129 This does not work when there is a line break halfway | 129 |
130 a bad word (e.g., "the the"). | 130 If the command is used without a count the |
131 You can enter the number of your choice or press | 131 alternatives are listed and you can enter the number |
132 <Enter> if you don't want to replace. You can also | 132 of your choice or press <Enter> if you don't want to |
133 use the mouse to click on your choice (only works if | 133 replace. You can also use the mouse to click on your |
134 the mouse can be used in Normal mode and when there | 134 choice (only works if the mouse can be used in Normal |
135 are no line wraps). Click on the first (header) line | 135 mode and when there are no line wraps). Click on the |
136 to cancel. | 136 first line (the header) to cancel. |
137 If 'verbose' is non-zero a score will be displayed to | 137 |
138 indicate the likeliness to the badly spelled word (the | 138 If a count is used that suggestion is used, without |
139 higher the score the more different). | 139 prompting. For example, "1z?" always takes the first |
140 suggestion. | |
141 | |
142 If 'verbose' is non-zero a score will be displayed | |
143 with the suggestions to indicate the likeliness to the | |
144 badly spelled word (the higher the score the more | |
145 different). | |
140 When a word was replaced the redo command "." will | 146 When a word was replaced the redo command "." will |
141 repeat the word replacement. This works like "ciw", | 147 repeat the word replacement. This works like "ciw", |
142 the good word and <Esc>. | 148 the good word and <Esc>. |
143 | 149 |
144 *:spellr* *:spellrepall* *E752* *E753* | 150 *:spellr* *:spellrepall* *E752* *E753* |
771 However, if the word also appears as a good word in another way it won't be | 777 However, if the word also appears as a good word in another way it won't be |
772 marked as rare. | 778 marked as rare. |
773 | 779 |
774 *spell-affix-nocomp* | 780 *spell-affix-nocomp* |
775 Another extra item for Vim is the "nocomp" flag. It must come after the other | 781 Another extra item for Vim is the "nocomp" flag. It must come after the other |
776 fields, before a comment. It can be either before or after "rare". When used | 782 fields, before a comment. It can be either before or after "rare". When |
777 then all words that use the affix will not be used for compound words. | 783 present then all words that use the affix will not be part of a compound word. |
778 Example: | 784 Example: |
779 affix file: | 785 affix file: |
780 COMPOUNDFLAG c ~ | 786 COMPOUNDFLAG c ~ |
781 SFX a Y 2 ~ | 787 SFX a Y 2 ~ |
782 SFX a 0 s . ~ | 788 SFX a 0 s . ~ |