aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-25 11:54:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-25 11:54:36 +1200
commit2d96baf13db2a4b29a82180462e43858c963f3e2 (patch)
treed35dec279d2468da5199177ea68aadfccd704177 /vim/vimrc
parentMerge branch 'release/v1.1.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-2d96baf13db2a4b29a82180462e43858c963f3e2.tar.gz
dotfiles-2d96baf13db2a4b29a82180462e43858c963f3e2.zip
Merge branch 'release/v1.2.0'v1.2.0
* release/v1.2.0: Bump VERSION Clear away filetype buffer mappings in vimrc
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 13211067..a6a3beae 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -277,6 +277,9 @@ if has('autocmd') && v:version >= 700
augroup vimrc_filetype_mappings
autocmd!
+ " Clear away existing local mappings
+ autocmd FileType * mapclear <buffer>
+
" Diff: prune sections
autocmd FileType diff nmap <buffer> _p <Plug>DiffPrune
autocmd FileType diff xmap <buffer> _p <Plug>DiffPrune