Add :Git add --intent-to-add to :Gstatus P

This commit is contained in:
Tim Pope
2019-07-23 20:30:55 -04:00
parent ce283cbdbf
commit 55cb58cd5f
2 changed files with 14 additions and 7 deletions

View File

@@ -270,6 +270,14 @@ X Discard the change under the cursor. This uses
*fugitive_>*
> Remove the inline diff of the file under the cursor.
P Invoke |:Git| add --patch or reset --patch on the file
under the cursor. On untracked files, this instead
calls |:Git| add --intent-to-add.
*fugitive_dp*
dp Invoke |:Git!| diff on the file under the cursor.
Deprecated in favor of inline diffs.
*fugitive_dd*
dd Perform a |:Gdiffsplit| on the file under the cursor.
@@ -280,13 +288,6 @@ dv Perform a |:Gvdiffsplit| on the file under the cursor.
ds Perform a |:Ghdiffsplit| on the file under the cursor.
dh
*fugitive_dp*
dp Invoke |:Git!| diff on the file under the cursor.
Deprecated in favor of inline diffs. On untracked
files, this instead calls |:Git| add --intent-to-add.
P Invoke |:Git| add --patch or reset --patch on the file
under the cursor.
*fugitive-navigation-mappings*
Navigation mappings ~