Add :Gvdiff and :Ghdiff aliases

I haven't decided if this will become the preferred interface or not.
This commit is contained in:
Tim Pope 2010-10-24 17:52:59 -04:00
parent 6ba88784a2
commit b3f38c4886

View File

@ -1009,6 +1009,7 @@ endfunction
call s:command("-bang -bar -nargs=? -complete=customlist,s:EditComplete Gdiff :execute s:Diff(<bang>0,<f-args>)")
call s:command("-bar -nargs=? -complete=customlist,s:EditComplete Gvdiff :execute s:Diff(0,<f-args>)")
call s:command("-bar -nargs=? -complete=customlist,s:EditComplete Ghdiff :execute s:Diff(1,<f-args>)")
augroup fugitive_diff
autocmd!