mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-10 15:25:57 +08:00
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:
1 parent
c2908b174d
commit
935a2cccd3
1 file changed
+1
-1
+1
-1
@@ -1845,7 +1845,7 @@ function! s:Remove(force) abort
|
|||||||
return 'echoerr '.string(v:errmsg)
|
return 'echoerr '.string(v:errmsg)
|
||||||
else
|
else
|
||||||
call fugitive#reload_status()
|
call fugitive#reload_status()
|
||||||
return 'bdelete'.(a:force ? '!' : '')
|
return 'edit'.(a:force ? '!' : '')
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user