aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION4
-rw-r--r--vim/vimrc3
2 files changed, 5 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 8e413b2c..04945fbb 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v1.1.0
-Sun Jun 24 21:02:03 UTC 2018
+tejr dotfiles v1.2.0
+Sun Jun 24 23:54:16 UTC 2018
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