diff options
Diffstat (limited to 'vim/config/spell.vim')
-rw-r--r-- | vim/config/spell.vim | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/vim/config/spell.vim b/vim/config/spell.vim deleted file mode 100644 index cbbe17f1..00000000 --- a/vim/config/spell.vim +++ /dev/null @@ -1,21 +0,0 @@ -" Configure spell checking features, if available -if has('spell') - - " Don't check spelling by default, but bind \s to toggle this - set nospell - nnoremap <silent> - \ <Leader>s - \ :<C-U>setlocal spell! spell?<CR> - - " Use New Zealand English for spelling by default (it's almost identical - " to British English), but bind \u to switch to US English and \z to - " switch back - set spelllang=en_nz - nnoremap <silent> - \ <Leader>u - \ :<C-U>setlocal spelllang=en_us spelllang?<CR> - nnoremap <silent> - \ <Leader>z - \ :<C-U>setlocal spelllang=en_nz spelllang?<CR> - -endif |