From d85f09ef781902636b148874668f6fbdba59cdca Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 27 Jan 2020 08:40:20 +0100 Subject: [PATCH] Adjust spell mappings to Z More in line with default vim spell mappings, and should not interfere with anything due to its leader prefixing. Added z to quickly fix spelling error cursor is over. --- nvim/.config/nvim/maps.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nvim/.config/nvim/maps.vim b/nvim/.config/nvim/maps.vim index 44bec09..d8ce73e 100644 --- a/nvim/.config/nvim/maps.vim +++ b/nvim/.config/nvim/maps.vim @@ -121,10 +121,10 @@ map T Sneak_T " Spell check set to 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 O :setlocal spell! spelllang=en_us -noremap OE :setlocal spell! spelllang=en_us -noremap OG :setlocal spell! spelllang=de_de -noremap o z= +noremap Z :setlocal spell! spelllang=en_us +noremap ZE :setlocal spell! spelllang=en_us +noremap ZG :setlocal spell! spelllang=de_de +noremap z 1z= " PLUGIN: NERDTree " open/close NERDtree with leader-e