VimDiff: do/dp shortcuts for 3-way diffs.
This commit is contained in:
parent
b8a726bd5e
commit
299284c149
11
.vimrc
11
.vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue