Tip #152: Spelling checkers for: Dutch, English, German, Hungarian, and Yiddish
tip karma |
Rating 15/6, Viewed by 880
|
created: |
|
November 2, 2001 7:10 |
|
complexity: |
|
intermediate |
author: |
|
Charles E. Campbell, Jr. |
|
as of Vim: |
|
5.7 |
Under http://www.erols.com/astronaut/vim/index.html#vimlinks_scripts
are links to spelling checkers for Dutch, English, German, Hungarian,
and Yiddish, all based on the original engspchk.vim. The spelling
checker provides as-you-type spell checking; with vim6.0 it will avoid
checking on partially typed words.
Provided are several maps:
\et : add word under cursor into database for just this file
\es : save word under cursor into database (permanently)
\en : move cursor to the next spelling error
\ep : move cursor to the previous spelling error
\ea : look for alternative spellings of word under cursor
To use \ea you will need agrep:
agrep source: ftp://sunsite.unc.edu/pub/Linux/utils/text/agrep-2.04.tar.Z
agrep Win exe: http://www.tgries.de/agrep
To use the spell checkers just source it in:
ex. so engspchk.vim
To read more about it see
http://www.erols.com/astronaut/vim/index.html#Spelling
<<an ascii table |
Making Parenthesis And Brackets Handling Easier >>
Additional Notes
|