Adjust spell mappings to <leader>Z

More in line with default vim spell mappings, and should not interfere
with anything due to its leader prefixing.

Added <leader>z to quickly fix spelling error cursor is over.
This commit is contained in:
Marty Oehme 2020-01-27 08:40:20 +01:00
parent 010ccc8284
commit d85f09ef78

View file

@ -121,10 +121,10 @@ map T <Plug>Sneak_T
" Spell check set to <leader>O, 'o' for 'orthography':
" Move to the prev/next spelling error with [S ]S
" Move to the prev/next spelling error or suggestion with [s ]s
noremap <leader>O :setlocal spell! spelllang=en_us<CR>
noremap <leader>OE :setlocal spell! spelllang=en_us<CR>
noremap <leader>OG :setlocal spell! spelllang=de_de<CR>
noremap <leader>o z=
noremap <leader>Z :setlocal spell! spelllang=en_us<CR>
noremap <leader>ZE :setlocal spell! spelllang=en_us<CR>
noremap <leader>ZG :setlocal spell! spelllang=de_de<CR>
noremap <leader>z 1z=
" PLUGIN: NERDTree
" open/close NERDtree with leader-e