From d249be7f3c04fe1970f8a50d1c219f1112f18676 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Mon, 8 Feb 2021 12:52:31 +0000 Subject: [PATCH] Update help doc See #718. --- doc/gitgutter.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/gitgutter.txt b/doc/gitgutter.txt index a665cd5..e5bb058 100644 --- a/doc/gitgutter.txt +++ b/doc/gitgutter.txt @@ -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 . To stage part of the hunk, move to the preview window, delete any lines you do not want to stage, and @@ -484,7 +485,7 @@ preview window. *g:gitgutter_close_preview_on_escape* Default: 0 -Whether pressing in a non-floating preview window closes it. +Whether pressing in a preview window closes it. *g:gitgutter_terminal_reports_focus* Default: 1