diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-11 14:49:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-11 14:49:48 +1200 |
commit | d82bedec805226a4c4d75057dc986d65450cc4be (patch) | |
tree | e964b6716e8c719882790b1fadfdbc34b8d1bca2 | |
parent | Correct a bunch of spelling problems (diff) | |
download | dotfiles-d82bedec805226a4c4d75057dc986d65450cc4be.tar.gz dotfiles-d82bedec805226a4c4d75057dc986d65450cc4be.zip |
Add visual mode mapping for spellfiles
-rw-r--r-- | vim/plugin/spellfile_local.vim | 1 |
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 |