diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index ca6d432..a818ccc 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -1121,7 +1121,7 @@ function! s:Commit(mods, args, ...) abort endif if bufname('%') == '' && line('$') == 1 && getline(1) == '' && !&mod execute mods 'keepalt edit' s:fnameescape(msgfile) - elseif a:args =~# '\%(^\| \)-\%(-verbose\|\w*v\)\>' || mods =~# '\' + elseif a:args =~# '\%(^\| \)-\w*v' || mods =~# '\' execute mods 'keepalt -tabedit' s:fnameescape(msgfile) elseif s:buffer().type() ==# 'index' execute mods 'keepalt edit' s:fnameescape(msgfile)