doc(mappings): update

This commit is contained in:
Lewis Russell 2022-03-28 14:58:32 +01:00
parent 9bd449cd62
commit 8fce869b67
1 changed files with 2 additions and 12 deletions

View File

@ -79,21 +79,11 @@ of the default settings:
==============================================================================
MAPPINGS *gitsigns-mappings*
All mappings are configurable via |gitsigns-setup()|.
Custom mappings can be defined in the `on_attach` callback in the config table
passed to |gitsigns-setup()|. See |gitsigns-config-on_attach|.
Most actions can be repeated with `.` if you have |vim-repeat| installed.
Buffer ~
]c Jump to the next hunk.
[c Jump to the previous hunk.
<leader>hs Stage the hunk at the cursor position.
<leader>hu Undo the last stage hunk.
<leader>hr Reset the lines of the hunk to what is in Git's index.
<leader>hp Preview the hunk in a floating window.
Custom mappings are defined using the `keymaps` table in the config table
passed to |gitsigns-setup()|. See |gitsigns-config-keymaps|.
==============================================================================
FUNCTIONS *gitsigns-functions*