aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/diff.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-15 10:12:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-15 10:12:38 +1200
commit4dd8d125cd401137d18d196e4125aa8fe789d2a0 (patch)
tree273810b45b6cd15d57402340da7978834cd27b55 /vim/after/ftplugin/diff.vim
parentMerge branch 'release/v1.52.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-02868fb4a993fa99ead5d49c12381882a2cde176.tar.gz (sig)
dotfiles-02868fb4a993fa99ead5d49c12381882a2cde176.zip
Merge branch 'release/v1.53.0'v1.53.0
* release/v1.53.0: Bump VERSION Unset g:is_posix when no longer needed Move Perl boilerplate generation to autoload Use consistent format for local leader mappings Rearrange local mappings for mail Add `abort` attribute to autoloaded mail function Move Vim mail functions to autoload Delete multiple blank lines after skipped greeting Add "hey" to generic mail quote greetings
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'