Update help doc

See #718.
This commit is contained in:
Andy Stewart
2021-02-08 12:52:31 +00:00
parent f440ed04dd
commit d249be7f3c

View File

@@ -173,7 +173,8 @@ Commands for operating on a hunk:~
*gitgutter-:GitGutterPreviewHunk* *gitgutter-:GitGutterPreviewHunk*
:GitGutterPreviewHunk Preview the hunk the cursor is in. :GitGutterPreviewHunk Preview the hunk the cursor is in.
Use |:pclose| or |CTRL-W_CTRL-Z| to close the preview 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, To stage part of the hunk, move to the preview window,
delete any lines you do not want to stage, and delete any lines you do not want to stage, and
@@ -484,7 +485,7 @@ preview window.
*g:gitgutter_close_preview_on_escape* *g:gitgutter_close_preview_on_escape*
Default: 0 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* *g:gitgutter_terminal_reports_focus*
Default: 1 Default: 1