diff options
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | vim/bundle/clear_local_maps | 0 | ||||
-rw-r--r-- | vim/vimrc | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules index dd10f0e4..46810091 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,6 +5,9 @@ [submodule "vim/bundle/big_file_options"] path = vim/bundle/big_file_options url = https://sanctum.geek.nz/code/vim-big-file-options.git +[submodule "vim/bundle/clear_local_maps"] + path = vim/bundle/clear_local_maps + url = https://sanctum.geek.nz/code/vim-clear-local-maps.git [submodule "vim/bundle/copy_linebreak"] path = vim/bundle/copy_linebreak url = https://sanctum.geek.nz/code/vim-copy-linebreak.git diff --git a/vim/bundle/clear_local_maps b/vim/bundle/clear_local_maps new file mode 160000 +Subproject b1038f42ef051f2829464b60d3a4aa13f3020d3 @@ -280,7 +280,7 @@ if has('autocmd') && v:version >= 700 autocmd! " Clear existing local leader maps - autocmd FileType * call vimrc#ClearLocalLeaderMaps() + autocmd FileType * silent! call clear_local_maps#Clear() " Diff: prune sections autocmd FileType diff nmap <buffer> <LocalLeader>p <Plug>DiffPrune |