Document :Gstatus maps in tabular form

This commit is contained in:
Tim Pope
2011-08-19 15:01:37 -04:00
parent 2aae91c3ed
commit dd52642d13
2 changed files with 37 additions and 30 deletions

View File

@@ -27,16 +27,24 @@ that are part of Git repositories).
*fugitive-:Gstatus*
:Gstatus Bring up the output of git-status in the preview
window. In addition to standard motions, one can
use <C-N> and <C-P> to jump from filename to
filename. Press C to invoke |:Gcommit|. Press D to
|:Gdiff| the file on the cursor line, or ds to
|:Gsdiff|. Press - to stage or unstage the file on
the cursor line. Press p to do so on a per hunk basis
(--patch). All of D, -, and p have a different,
sensible (and hopefully intuitive) behavior when
invoked on a heading rather than a file name. Press q
to close the preview window.
window. The following maps, which work on the cursor
line file where sensible, are provided:
<C-N> next file
<C-P> previous file
<CR> |:Gedit|
- |:Git| add
- |:Git| reset (staged files)
C |:Gcommit|
D |:Gdiff|
ds |:Gsdiff|
dv |:Gvdiff|
O |:Gtabedit|
o |:Gsplit|
p |:Git| add -p
p |:Git| reset -p (staged files)
q close status
R reload status
*fugitive-:Gcommit*
:Gcommit [args] A wrapper around git-commit. If there is nothing