aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 14:49:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 14:49:48 +1200
commitd82bedec805226a4c4d75057dc986d65450cc4be (patch)
treee964b6716e8c719882790b1fadfdbc34b8d1bca2
parentCorrect a bunch of spelling problems (diff)
downloaddotfiles-d82bedec805226a4c4d75057dc986d65450cc4be.tar.gz
dotfiles-d82bedec805226a4c4d75057dc986d65450cc4be.zip
Add visual mode mapping for spellfiles
-rw-r--r--vim/plugin/spellfile_local.vim1
1 files changed, 1 insertions, 0 deletions
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 <buffer> zG 2zg
+ xnoremap <buffer> zG 2zg
endfunction
command! AddLocalSpellFile