From b680699450805e01960184b60a2cf0d3a71088cf Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 6 Apr 2018 14:57:29 -0400 Subject: [PATCH] Don't force tab for :Gcommit --verbose Keep it for -v, for now. Closes https://github.com/tpope/vim-fugitive/issues/1011 --- plugin/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)