From 81a50e8c1d0a194b2f1c50ff2e95b3087afbe1bd Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 10 Apr 2013 14:30:46 +0400 Subject: [PATCH] VimDiff: do/dp shortcuts for 3-way diffs. --- .vimrc | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.vimrc b/.vimrc index cb86c66..d7cb5b9 100644 --- a/.vimrc +++ b/.vimrc @@ -216,3 +216,14 @@ let g:tagbar_ctags_bin = "anjuta-tags" " ----- NERDTree ------ nmap :NERDTreeToggle + +" ------- VimDiff ------- +if &diff + let mapleader = "," + map dp1 :diffput LOCAL + map dp2 :diffput BASE + map dp3 :diffput REMOTE + map do1 :diffget LOCAL + map do2 :diffget BASE + map do3 :diffget REMOTE +endif