sponsor Vim development Vim logo Vim Book Ad

vim-spell.tar.gz : Another spell-checker plugin

 script karma  Rating 19/21, Downloaded by 6514  Comments, bugs, improvements  Vim wiki

created by
Luc Hermitte
script type
VIM-Spell is a spell-checker plugin for VIM based on Ispell or Aspell.

This plugin can parse a file and look for misspellings, highlight them, jump from one to another, choose the language, add new words to the dictionary, ignore some, and so on.

The main feature is probably the split window used to propose alternatives for a misspelling and to correct it. To give an idea, here is a little screenshot :

More over, in order to speed up the processing, the calls to ispell/aspell are regrouped. All the alternatives for every misspelling in the current document are cached in a local file. Then, obtaining the alternatives for a given misspelling is an instantaneous operation.

For more information, you can take a look at the help file archived in the
tarball or look at :
Rem.: the site is quite slow.

The latest version have been tested with VIM 6.1 under a PC/WindowsXP/cmd.exe and PC/WindowsXP/Cygwin-bash.

Changelog available at:
BTW, you may find a more up-to-date version of the plugin at:
Note: the latest versions are no longer compatible with Vim 5.x.
install details
Uncompress the tarball archive into one of your paths from 'runtimepath'.

Then, load lhVimSpell.vim from the ftplugin you want or drop the file into your plugins folder. Check the documentation for more explanations.

In order to work correctly, several things are required:
- aspell or ispell : external spell-checkers ; required,
- sort : *NIX external text tools -- be sure, they have priority over DOS tools ; optional since version 0.5,
- a.vim, an old version is joined in the archive ;
  http://vim.sf.net/scripts/script.php?script_id=31 ,
  the latest is of no use for my plugin;
- Triggers.vim http://vim.sourceforge.net/scripts/script.php?script_id=48 (optional since version 0.2b),

N.B.: if you want to hack the plugin, you should download the "developper version"

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-spell.tar.gz 0.5 2003-02-11 6.0 Luc Hermitte Many changes, fixes, ... Now definitively working on MsWindows boxes; cf Changelog for more details
vim-spell.tar.gz 0.3c 2002-07-22 5.7 Luc Hermitte Bug fixes : (*) words can be added directly into local dictionary ; (*) mappings will works for several buffers (used to be a problem when calling vim with for instance 'vim *.tex').
vim-spell.tar.gz 0.3b 2002-07-18 5.7 Luc Hermitte No more error message when there is no misspelling. The syntax highlighting rules have been extended to support HTML files and some others filetypes ; the rules for TeX files have been enhanced.
vim-spell.tar.gz 0.3 2002-07-03 5.7 Luc Hermitte The plugin has been simplified. The number of files has been reduced to 3 ; it should be easier to install.
vim-spell.tar.gz 0.2d 2002-07-02 6.0 Luc Hermitte The capitalization problem with the archive has been fixed. + some minor changes
vim-spell.tar.gz 0.2c 2002-02-25 5.7 Luc Hermitte The list of words to be ignored is no more reset after every parsing. A dependency has been "eased". Some bugs fixed.
vim-spell.tar.gz 0.2b 2002-02-13 5.7 Luc Hermitte There is no important improvments in this version. Only the dependancies have been reduced (help.vim is no more required, while triggers.vim has become optional)
vim-spell.tar.gz 0.2 2002-01-29 5.7 Luc Hermitte Some bugs have been fixed (accentuated characters can be inserted into personal dictionaries, ...); the color highlighting scheme with LaTeX is now correct; the dependancies have been reduced for VIM 6.
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.