Fall back to "commit" line for file hunk jump maps

This enables jumping from commit to commit in :Git log.
This commit is contained in:
Tim Pope
2019-08-02 16:02:19 -04:00
parent e5a6a8c525
commit 9ac6a258d6
2 changed files with 27 additions and 16 deletions

View File

@@ -333,12 +333,10 @@ P Open the current file in the [count]th parent.
C Open the commit containing the current file.
*fugitive_CTRL-P* *fugitive_(*
( Jump to the previous file or hunk.
<C-P>
( Jump to the previous file, hunk, or revision.
*fugitive_CTRL-N* *fugitive_)*
) Jump to the next file or hunk.
<C-N>
) Jump to the next file, hunk, or revision.
*fugitive_i*
i Jump to the next file or hunk, expanding inline diffs