aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 028ccdce..86f13359 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -280,6 +280,9 @@ if has('autocmd') && v:version >= 700
augroup vimrc_filetype_mappings
autocmd!
+ " Clear existing local leader maps
+ autocmd FileType * call vimrc#ClearLocalLeaderMaps()
+
" Diff: prune sections
autocmd FileType diff nmap <buffer> _p <Plug>DiffPrune
autocmd FileType diff xmap <buffer> _p <Plug>DiffPrune