Implement :Gwq

This commit is contained in:
Tim Pope
2011-02-27 13:58:05 -05:00
parent 3933bfdc57
commit 2e4c9236d6
2 changed files with 22 additions and 0 deletions

View File

@@ -118,6 +118,13 @@ that are part of Git repositories).
:0:foo.txt or even :0 to write to just that stage in
the index.
*fugitive-:Gwq*
:Gwq [path] Like |:Gwrite| followed by |:quit| if the write
succeeded.
:Gwq! [path] Like |:Gwrite|! followed by |:quit|! if the write
succeeded.
*fugitive-:Gdiff*
:Gdiff [revision] Perform a |vimdiff| against the current file in the
given revision. With no argument, the version in the