Add functions to jump between diff hunks.
Extract method to avoid repetition.