From d82bedec805226a4c4d75057dc986d65450cc4be Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 11 Jun 2019 14:49:48 +1200 Subject: Add visual mode mapping for spellfiles --- vim/plugin/spellfile_local.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim index 0ded3fc1..bb6421f2 100644 --- a/vim/plugin/spellfile_local.vim +++ b/vim/plugin/spellfile_local.vim @@ -22,6 +22,7 @@ function! AddLocalSpellFile() abort setlocal spellfile< execute 'setlocal spellfile+=$MYVIM/cache/spell/local/'.spellfile nnoremap zG 2zg + xnoremap zG 2zg endfunction command! AddLocalSpellFile -- cgit v1.2.3