Provide :Gdelete

Closes https://github.com/tpope/vim-fugitive/issues/804
This commit is contained in:
Tim Pope
2017-06-08 01:20:21 -04:00
parent 280bbdb6eb
commit be2ff98db5
3 changed files with 10 additions and 6 deletions

View File

@@ -198,12 +198,15 @@ that are part of Git repositories).
directory except when started with a /, in which case
it is relative to the work tree. Add a ! to pass -f.
*fugitive-:Gremove*
:Gremove Wrapper around git-rm that deletes the buffer
*fugitive-:Gdelete*
:Gdelete Wrapper around git-rm that deletes the buffer
afterward. When invoked in an index file, --cached is
passed. Add a ! to pass -f and forcefully discard the
buffer.
*fugitive-:Gremove*
:Gremove Like :Gdelete, but keep the (now empty) buffer around.
*fugitive-:Gblame*
:Gblame [flags] Run git-blame on the file and open the results in a
scroll bound vertical split. You can give any of