3 homepage: https://webinstall.dev/vim-spell
5 vim spell is Vim's built-in spellcheck
8 To update (replacing the current version) run `webi vim-spell`.
12 Vim has a built-in spell checker. It is turned off by default and when turned on
13 will do whole-word highlighting - which does not look good in any of the themes
16 This vim-spell plugin turns on the spell checker and sets it to use underline
17 rather than background coloring.
19 ### How to add new words
21 The vim command to add words to your user's dictionary is `:spell <word>`. For
29 ### How to remove words
31 You can remove a word from your custom dictionary with `:spellundo <word>`, like
38 You can blacklist word (mark it as an incorrect spelling) with
39 `:spellwrong <word>`, like this:
44 " use X11/HTML-defined 'gray', not the proper English 'grey'
48 This is particularly useful if you want to make sure that you're consintent in
49 spelling words that have multiple spellings.
51 ### Where are the custom files?
53 Your user-specific spell files in in `~/.vim/spell`. One is in binary form and
54 the other in text form, likely:
56 - `~/.vim/spell/en.utf-8.add`
57 - `~/.vim/spell/en.utf-8.add.spl`
59 ### How to install manually
61 Create the file `~/.vim/plugins/spell.vim`. Add the same contents as
62 <https://github.com/webinstall/webi-installers/blob/master/vim-spell/spell.vim>.
64 That will look something like this:
70 " set spellcheck highlight to underline
72 hi SpellBad cterm=underline
75 You'll then need to update `~/.vimrc` to source that plugin:
78 " Spell Check: reasonable defaults from webinstall.dev/vim-spell
79 source ~/.vim/plugins/spell.vim