mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user