Add next/previous section maps

This commit is contained in:
Tim Pope
2019-07-08 14:41:59 -04:00
parent 45fd3f4cb8
commit ebd7c9ddd3
2 changed files with 37 additions and 6 deletions

View File

@@ -249,12 +249,6 @@ u Unstage (reset) the file or hunk under the cursor.
*fugitive_-*
- Stage or unstage the file or hunk under the cursor.
*fugitive_CTRL-N*
<C-N> Skip to the next file or hunk.
*fugitive_CTRL-P*
<C-P> Skip to the previous file or hunk.
*fugitive_X*
X Discard the change under the cursor. This uses
`checkout` or `clean` under the hood. A command is
@@ -327,6 +321,18 @@ C Open the commit containing the current file.
<C-W>C Open the commit containing the current file in a new
split.
*fugitive_CTRL-P*
<C-P> Jump to the previous file or hunk.
*fugitive_CTRL-N*
<C-N> Jump to the next file or hunk.
*fugitive_[[*
[[ Jump to the previous section.
*fugitive_]]*
]] Jump to the next section.
*fugitive_gu*
gu Jump to "Unstaged" section.