diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index f2902c4..ad432a5 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4577,7 +4577,7 @@ function! s:ToolStream(line1, line2, range, bang, mods, options, args, state) ab if len(get(item, 'filename', '')) && item.filename != filename call add(cmd, 'tabedit ' . s:fnameescape(item.filename)) for i in reverse(range(len(get(item.context, 'diff', [])))) - call add(cmd, (i ? 'rightbelow' : 'leftabove') . ' vert Gdiffsplit! ' . s:fnameescape(item.context.diff[i].filename)) + call add(cmd, (i ? 'rightbelow' : 'leftabove') . ' vertical Gdiffsplit! ' . s:fnameescape(item.context.diff[i].filename)) endfor call add(cmd, 'wincmd =') let filename = item.filename @@ -5085,7 +5085,7 @@ function! s:BlurStatus() abort endif endfunction -let s:bang_edits = {'split': 'Git', 'vsplit': 'vert Git', 'tabedit': 'tab Git', 'pedit': 'Git!'} +let s:bang_edits = {'split': 'Git', 'vsplit': 'vertical Git', 'tabedit': 'tab Git', 'pedit': 'Git!'} function! fugitive#Open(cmd, bang, mods, arg, args) abort exe s:VersionCheck() if a:bang diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index a484f16..bab337a 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -432,7 +432,7 @@ exe 'command! -bar -bang -nargs=* -range=-1 -complete=customlist, exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gdiffsplit exe fugitive#Diffsplit(1, 0, "", , [])' exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Ghdiffsplit exe fugitive#Diffsplit(0, 0, "", , [])' -exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gvdiffsplit exe fugitive#Diffsplit(0, 0, "vert ", , [])' +exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gvdiffsplit exe fugitive#Diffsplit(0, 0, "vertical ", , [])' exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gw exe fugitive#WriteCommand(, , +"", 0, "", , [])' exe 'command! -bar -bang -nargs=* -complete=customlist,fugitive#EditComplete Gwrite exe fugitive#WriteCommand(, , +"", 0, "", , [])'