2) I then ran the following command from the directory where the files had been downloaded
Code: Select all
# cp *.* /usr/share/vim/vim73/spell/
Code: Select all
" ---- set spelling options ----
set spell " spell check
set spelllang=en_us " languages
" ---- toggle spelling control-E -> en, control-D -> da, control-I -> id ----
map <C-E> :setlocal spell! spelllang=en<CR>
imap <C-E> <ESC>:setlocal spell! spelllang=en<CR>i
map <C-D> :setlocal spell! spelllang=da<CR>
imap <C-D> <ESC>:setlocal spell! spelllang=da<CR>i
map <C-I> :setlocal spell! spelllang=id<CR>
imap <C-I> <ESC>:setlocal spell! spelllang=id<CR>i