Add functions to jump between diff hunks.

This commit is contained in:
Tobias Pflug
2013-02-28 09:56:41 +01:00
committed by Andy Stewart
parent 8ed5c48b63
commit 04a72e9e3c
2 changed files with 31 additions and 2 deletions

View File

@@ -44,6 +44,11 @@ And you can turn line highlighting on and off (defaults to off):
* turn off with `:call DisableGitGutterLineHighlights()`
* toggle with `:call ToggleGitGutterLineHighlights()`.
Furthermore you can jump between hunks:
* jump to next hunk: `:call GitGutterNextHunk()`
* jump to previous hunk: `:call GitGutterPrevHunk()`.
You may want to add mappings for these if you use them often.