Is there a way to switch out magit's diff display with a 3rd party output?

I would like to use delta which has syntax highlighting & word-level diffs.

Is there a way of integrating 3rd party packages? Or would I be better off writing my own package that launches a different kind of diff view from magit?

enter image description here

This is a comparison with vdiff & delta. enter image description here

Note: I'm awaer of ediff, however it doesn't seem to have a way to produce a small/concise summary of the diff (the whole buffer is shown and each file needs to be handled one-by-one).

  • Not an answer to your question, but: (setq magit-diff-refine-hunk 'all) gets you that nice word-level highlighting in magit diffs. Delta looks awesome though, I'll have to check that out! Commented Oct 20, 2021 at 14:34

1 Answer 1


There is a package magit-delta that does exactly this.

  • Unfortunately this packages only colors magit's diff, it doesn't support a side-by-side diff.
    – ideasman42
    Commented Oct 17, 2021 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.