File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,16 @@ hunk.setup({
116116>
117117> You can always press ` g? ` to get a help menu of the available commands
118118
119+ ### Accepting / Rejecting Changes
120+
121+ Once you are happy with your selected set of hunks and/or lines you can accept the change by using the
122+ ` key.global.accept ` keybinding. See ** [ configuration] ( #configuration ) ** or press ` g? ` to see what this is bound to
123+ (default ` <leader><Cr> ` ).
124+
125+ If Neovim exits with a non-0 exit code then the selection will be aborted and no changes will be written. You can use
126+ the ` keys.global.quit ` keybinding (default ` q ` ) to exit with a non-0 exit code. This just calls ` :cq ` internally - so
127+ you can do that too.
128+
119129### Highlights
120130
121131Most of the hunk colors can be configured by defining your own highlight overrides. Refer to the below table for a list
You can’t perform that action at this time.
0 commit comments