Don't close window after :Gremove

This is nothing more than a change in personal preference on my part.
It's particularly annoying when :Gstatus or the quickfix window is the
only other window open.
This commit is contained in:
Tim Pope
2015-05-19 12:27:22 -04:00
parent c2908b174d
commit 935a2cccd3

View File

@@ -1845,7 +1845,7 @@ function! s:Remove(force) abort
return 'echoerr '.string(v:errmsg)
else
call fugitive#reload_status()
return 'bdelete'.(a:force ? '!' : '')
return 'edit'.(a:force ? '!' : '')
endif
endfunction