From a32c301f516cf64e5a8e28ad106923e8cee5cda3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Tue, 25 Dec 2018 19:36:26 -0500 Subject: [PATCH] Remove :Gcommit claiming :Gstatus window --- autoload/fugitive.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 88e1502..43ce2a0 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -2233,10 +2233,6 @@ function! s:Commit(mods, args, ...) abort execute mods 'keepalt edit' s:fnameescape(msgfile) elseif a:args =~# '\%(^\| \)-\w*v' || mods =~# '\' execute mods 'keepalt -tabedit' s:fnameescape(msgfile) - elseif get(b:, 'fugitive_type', '') ==# 'index' - execute mods 'keepalt edit' s:fnameescape(msgfile) - execute (search('^#','n')+1).'wincmd+' - setlocal nopreviewwindow else execute mods 'keepalt split' s:fnameescape(msgfile) endif