aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/spellfile_local.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 15:04:55 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 15:04:55 +1200
commit07f2181eda8e27c4c12f810e7a5482423225e6d4 (patch)
tree3fb729d0984ccd22ef35c57108d9c4e70dc09087 /vim/plugin/spellfile_local.vim
parentMerge branch 'release/v5.39.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-07f2181eda8e27c4c12f810e7a5482423225e6d4.tar.gz
dotfiles-07f2181eda8e27c4c12f810e7a5482423225e6d4.zip
Merge branch 'release/v5.40.0'v5.40.0
* release/v5.40.0: Correct usage of :normal in mappings Add visual mode mapping for spellfiles Correct a bunch of spelling problems Fix a couple of comments
Diffstat (limited to 'vim/plugin/spellfile_local.vim')
-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