diff --git a/doc/gitgutter.txt b/doc/gitgutter.txt index a4da6ba..05bd2ce 100644 --- a/doc/gitgutter.txt +++ b/doc/gitgutter.txt @@ -173,6 +173,10 @@ Commands for operating on a hunk:~ *gitgutter-:GitGutterPreviewHunk* :GitGutterPreviewHunk Preview the hunk the cursor is in. + To stage part of the hunk, move to the preview window, + delete any lines you do not want to stage, and + |GitGutterStageHunk|. + To close a non-floating preview window use |:pclose| or |CTRL-W_z| or |CTRL-W_CTRL-Z|; or normal window- closing (|:quit| or |:close| or |CTRL-W_c|) if your cursor @@ -186,10 +190,6 @@ Commands for operating on a hunk:~ the original window with |CTRL-W_p|. Alternatively set |g:gitgutter_close_preview_on_escape| and use . - 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*