spell.vim : Vim 'spell' utility plugin
| script karma
Downloaded by 3437
Comments, bugs, improvements
Vim plugin for using the 'spell' Unix utility. Provides commands to spell
check the current buffer, or a range of lines in the current buffer, current
word or a supplied string and to highlight misspelled words. This plugin
provides the functionality similar to that provided by the emacs spell.el
This plugin provides the following commands:
Spell check lines in the current buffer. The default behavior is to
spell check the entire buffer. You can specify an ex command-line
range to spell check only lines in that range. If a word is
misspelled, you will be prompted to enter the correct spelling for the
word. If you enter the correct spelling, then you will be prompted
for replacing every occurrence of that word in the current buffer. If
you press just enter, then the word will be skipped. If you press
<Esc>, the spell check will be stopped.
Check the spelling of the current word under the cursor. If the word
is misspelled, you will be prompted for the correct spelling. If you
enter the correct spelling, you will be prompted for replacing every
occurrence of that word in the current buffer. If you press just
enter, then the word will be skipped.
3. SpellString <string>
Check the spelling of the supplied string. All the misspelled words
in the string will be displayed.
Highlight all the misspelled words in the current buffer. This command
also takes a range of lines.
Clear the highlighting for the misspelled words.
The 'spell' utility only checks the spelling and will not provide the
alternatives (correct spelling) for a word. As this plugin depends on the
'spell' utility, you will not get the correct spelling for a word. You will
only know whether a word is spelled correctly or not.
|1. Copy the spell.vim script to the .vim/plugin directory. Refer to
'help add-plugin', 'help add-global-plugin' and 'help runtimepath' for
2. Modify the s:SpellPath variable, defined at the top of the script,
to point to the spell utility path.
3. Restart Vim.
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.104.22.168