Stage part of any hunk.

See #279.
This commit is contained in:
Andy Stewart
2019-08-13 15:57:22 +01:00
parent a5ee9f2f11
commit b036fcf527
4 changed files with 147 additions and 7 deletions

View File

@@ -168,6 +168,10 @@ Commands for operating on a hunk:~
to stage part of an (additions-only) hunk; or use a
range.
To stage part of any hunk, first |GitGutterPreviewHunk|
it, then move to the preview window, delete the lines
you do not want to stage, and |GitGutterStageHunk|.
*gitgutter-:GitGutterUndoHunk*
:GitGutterUndoHunk Undo the hunk the cursor is in.
@@ -176,6 +180,10 @@ Commands for operating on a hunk:~
Use |:pclose| or |CTRL-W_CTRL-Z| to close the preview
window.
To stage part of the hunk, move to the preview window,
delete any lines you do not want to stage, and
|GitGutterStageHunk|.
Commands for folds:~
*gitgutter-:GitGutterFold*