From 680aec4cc7ca1b951e1ff66dc33553e7d50e73b8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 15 May 2020 00:00:37 +1200 Subject: Remove plugin remaps Not the best idea to do it here, anyway. Better in vimrc. --- autoload/spellfile_local.vim | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/autoload/spellfile_local.vim b/autoload/spellfile_local.vim index eba7358..b61ef3e 100644 --- a/autoload/spellfile_local.vim +++ b/autoload/spellfile_local.vim @@ -73,19 +73,6 @@ function! spellfile_local#() abort " Set the spellfile path list to the concatenated list let &spellfile = s:OptionJoin(spellfiles) - " Remap the internal word list mappings to use the second entry in - " the new local 'spellfile' - if get(g:, 'spellfile_local_remap_internal', 1) - nnoremap zG 2zg - xnoremap zG 2zg - nnoremap zW 2zw - xnoremap zW 2zw - nnoremap zuG 2zug - xnoremap zuG 2zug - nnoremap zuW 2zuw - xnoremap zuW 2zuw - endif - endfunction " Escape a path for use as a valid spelling file name; replace any characters -- cgit v1.2.3