Skip to content

Commit

Permalink
Update help doc
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Feb 8, 2021
1 parent f440ed0 commit d249be7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/gitgutter.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ Commands for operating on a hunk:~
*gitgutter-:GitGutterPreviewHunk*
:GitGutterPreviewHunk Preview the hunk the cursor is in.
Use |:pclose| or |CTRL-W_CTRL-Z| to close the preview
window.
window, or set |g:gitgutter_close_preview_on_escape|
and use <Esc>.

To stage part of the hunk, move to the preview window,
delete any lines you do not want to stage, and
Expand Down Expand Up @@ -484,7 +485,7 @@ preview window.
*g:gitgutter_close_preview_on_escape*
Default: 0

Whether pressing <Esc> in a non-floating preview window closes it.
Whether pressing <Esc> in a preview window closes it.

*g:gitgutter_terminal_reports_focus*
Default: 1
Expand Down

0 comments on commit d249be7

Please sign in to comment.