sponsor Vim development Vim logo Vim Book Ad

Vimchant : Fast on-the-fly spell-checker based on Enchant

 script karma  Rating 36/16, Downloaded by 2176  Comments, bugs, improvements  Vim wiki

created by
Teemu Likonen
 
script type
utility
 
description
Note: This plugin is not maintained.

Vim 7.0 introduced excellent spell-checking features which made external spell-checker plugins pretty much obsolete. Unfortunately not all languages can be supported through Vim’s dictionary format. Either the language is morphologically too complex or better custom solutions exist already for some languages—solutions which are not compatible with Vim’s spelling checker. Finnish, for example, is a language which doesn’t currently benefit from Vim’s spell-checking features.

This plugin (Vimchant) provides a simple but fast on-the-fly spelling checker which uses Enchant as its back-end program. Enchant is a spell-checker library and utility included in modern GNU/Linux systems. Enchant itself is only a front-end for many different spell-checkers, including Voikko, Zemberek, Hunspell, Hspell, Uspell, Myspell, Aspell and Ispell. All the spell-checkers and languages which can be supported through Enchant are available to Vim through this plugin.

Manual for Vimchant is included, just type

    :help vimchant.txt

The most interesting commands are \ss (spell-checker on/off) and \sl (change language). The default interval period before running the spell-check is rather long (4 seconds). To make the spell-checker respond faster (1 second, for example) add the following line to your .vimrc file:

    set updatetime=1000

See the manual for more info. See also the Enchant homepage:

    http://www.abisource.com/projects/enchant/
 
install details
Requirements:

    – Vim 7.1.040 or later
    – Enchant (possibly included in libenchant package in GNU/Linux distributions)

The plugin uses Vimball plugin archive format (vimscript#1502). To install the package, load the file to Vim and run command

    :source %

To remove the plugin, type

    :RmVimball vimchant
 

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
vimchant.vba 1.1 2008-08-31 7.0 Teemu Likonen Move the most part of the plugin to autoload directory. Now only the very minimum of this plugin is loaded automatically when Vim is started and the rest is loaded when the spell-checker is used for the first time.
ip used for rating: 142.132.191.50

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.
   
Vim at Github