aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-08 21:25:55 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-08 21:25:55 +1200
commit20d3140043a6f0d3db86f78d31f52aff210c137d (patch)
tree1f4509b7e199be98d2cea517516252bf418d5c76 /vim/after
parentHighlight overly long Git commit subjects as error (diff)
downloaddotfiles-20d3140043a6f0d3db86f78d31f52aff210c137d.tar.gz
dotfiles-20d3140043a6f0d3db86f78d31f52aff210c137d.zip
Upgrade and adjust config for diff_prune.vim
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/diff.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/vim/after/ftplugin/diff.vim b/vim/after/ftplugin/diff.vim
index a8f77125..ecb651ff 100644
--- a/vim/after/ftplugin/diff.vim
+++ b/vim/after/ftplugin/diff.vim
@@ -18,9 +18,10 @@ if exists('g:no_plugin_maps') || exists('g:no_diff_maps')
endif
" Set mappings
-nmap <buffer> <LocalLeader>p <Plug>DiffPrune
-nmap <buffer> <LocalLeader>pp <Plug>(DiffPrune)l
-xmap <buffer> <LocalLeader>p <Plug>DiffPrune
+nmap <buffer> <LocalLeader>p <Plug>(DiffPrune)
+xmap <buffer> <LocalLeader>p <Plug>(DiffPrune)
+nmap <buffer> <LocalLeader>pp <Plug>(DiffPrune)_
let b:undo_ftplugin = b:undo_ftplugin
\ . '|nunmap <buffer> <LocalLeader>p'
\ . '|xunmap <buffer> <LocalLeader>p'
+ \ . '|nunmap <buffer> <LocalLeader>pp'