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