commit 935a2cccd3065b1322fb2235285d42728600afdf (tree)
parent c2908b174d4efb5aa80786cdec3a966d7371f75a
Author: Tim Pope <code@tpope.net>
Date: Tue, 19 May 2015 12:27:22 -0400
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim
@@ -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