Add option for <Esc> to close non-floating preview window

Closes #718.
This commit is contained in:
Andy Stewart
2020-06-23 15:18:25 +01:00
parent faf2581f00
commit 51a03d4ae0
3 changed files with 10 additions and 0 deletions

View File

@@ -311,6 +311,7 @@ Signs:~
Hunk previews:~
|g:gitgutter_preview_win_floating|
|g:gitgutter_close_preview_on_escape|
Terminal:~
@@ -468,6 +469,11 @@ Whether to use floating/popup windows for hunk previews. Note that if you use
popup windows on Vim you will not be able to stage partial hunks via the
preview window.
*g:gitgutter_close_preview_on_escape*
Default: 0
Whether pressing <Esc> in a non-floating preview window closes it.
*g:gitgutter_terminal_reports_focus*
Default: 1