aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/diff.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-14 20:06:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-14 20:06:53 +1200
commitaec486fb68204b1842103401093314ea4accc003 (patch)
treed09ac060b31bf929da7af10aa9f6d69e5179037d /vim/after/ftplugin/diff.vim
parentRearrange local mappings for mail (diff)
downloaddotfiles-aec486fb68204b1842103401093314ea4accc003.tar.gz
dotfiles-aec486fb68204b1842103401093314ea4accc003.zip
Use consistent format for local leader mappings
Diffstat (limited to 'vim/after/ftplugin/diff.vim')
-rw-r--r--vim/after/ftplugin/diff.vim9
1 files changed, 6 insertions, 3 deletions
diff --git a/vim/after/ftplugin/diff.vim b/vim/after/ftplugin/diff.vim
index 109b5b49..eecc8b8c 100644
--- a/vim/after/ftplugin/diff.vim
+++ b/vim/after/ftplugin/diff.vim
@@ -15,9 +15,12 @@ let b:undo_ftplugin .= '|nunmap <buffer> {'
\ . '|nunmap <buffer> }'
" Set mappings
-nmap <buffer> <LocalLeader>p <Plug>(DiffPrune)
-xmap <buffer> <LocalLeader>p <Plug>(DiffPrune)
-nmap <buffer> <LocalLeader>pp <Plug>(DiffPrune)_
+nmap <buffer> <LocalLeader>p
+ \ <Plug>(DiffPrune)
+xmap <buffer> <LocalLeader>p
+ \ <Plug>(DiffPrune)
+nmap <buffer> <LocalLeader>pp
+ \ <Plug>(DiffPrune)_
let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>p'
\ . '|xunmap <buffer> <LocalLeader>p'
\ . '|nunmap <buffer> <LocalLeader>pp'