vimrc
raw| 1 | " F8 to highlight spelling error, F7 to remove highlighting |
| 2 | noremap <F8> :let spellcheckfile = tempname()<CR>:write !mkspellcheck spellcheckfile -d czech<CR><CR>:source spellcheckfile<CR><CR> |
| 3 | noremap <F7> :syntax clear SpellErrors<CR> |
| 4 | " Ctrl-X to start ispell from the current line |
| 5 | map <C-X> !Gfspell -d czech<CR>:redraw!<CR> |