mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05: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:
@@ -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