VimDiff: do/dp shortcuts for 3-way diffs.

This commit is contained in:
Kolan Sh 2013-04-10 14:30:46 +04:00
parent 5cba26b8e1
commit 81a50e8c1d
1 changed files with 11 additions and 0 deletions

11
.vimrc
View File

@ -216,3 +216,14 @@ let g:tagbar_ctags_bin = "anjuta-tags"
" ----- NERDTree ------
nmap <F12> :NERDTreeToggle<CR>
" ------- VimDiff -------
if &diff
let mapleader = ","
map dp1 :diffput LOCAL<CR>
map dp2 :diffput BASE<CR>
map dp3 :diffput REMOTE<CR>
map do1 :diffget LOCAL<CR>
map do2 :diffget BASE<CR>
map do3 :diffget REMOTE<CR>
endif