Vim documentation: spell

main help file

*spell.txt*    For Vim version 6.0.+ ispell code Last modification: 1999 Jan 23


		  VIM REFERENCE MANUAL    by Bram Moolenaar



Spell check highlighting	*spell* *spell-highlighting* 

Spell highlighting enables the possibility to show words in
another font or color when it is not present in defined dictionary.  

Vim supports spell highlighting on all terminals.  
It works best in the GUI version, gvim.

1.  set directory name for the dictionary files	|spelldir|
2.  set language				|language|
1.  Enable/disable spell checking		|:spell-on|
2.  Set current word to private dictionary 	|:spell-priv_dict|
3.  Make new dictionary				|:spell-dict|

{Vi does not have any of these commands}

The spell highlighting is not available when the |+spell| feature has been
disabled at compile time.

==============================================================================

							*:spell-on*
To start spell checking, type this command:
>  :spell on

This will enable spell checking mechanism.  All words not present in
current dictionary was highlight.


						    *:spell-default-override*
You can override the default highlight settings, by issuing ":highlight"
commands.  For example:
>  :spell on
>  :highlight spell gui=NONE guibg=grey95

This will change the GUI highlighting.  See
|:highlight| about how to specify highlighting attributes.

If you are running in the GUI, you can get white text on a black background
with:
>  highlight spell guibg=NONE guifg=Red


To switch off the spell checking mechanism:			*:spell-off*
>  :spell off


							*:spell-priv_dict*
Ctrl-S
Ctrl-Q
	Saved current word to private dictionary (Ctrl-S -- in lower case)
	in normal and insert/replace mode.
	

							*:spell-dict*
see ispell and buildhash documentation.
==============================================================================
top - main help file