dgutov / diff-hl

Emacs package for highlighting uncommitted changes
GNU General Public License v3.0
914 stars 44 forks source link

Command to show diff of current hunk #126

Closed mrcnski closed 4 years ago

mrcnski commented 4 years ago

Is there a way to do as the title states? I currently do this by calling diff-hl-revert-hunk which shows the diff and asks for confirmation, but I'm not able to navigate around in the buffer, so it's not very useful for large diffs.

iquiw commented 4 years ago

C-x v = diff-hl-diff-goto-hunk ?

mrcnski commented 4 years ago

Missed that somehow, thanks!