Magit: change color of filename in diffs

108 Views Asked by At

I find it a little troublesome to distinguish filenames in Magits diffs. I would ideally like to have these in orange, so I can quickly identify where changes for a file begin.

1

There are 1 best solutions below

1
Alex Ott On BEST ANSWER

You need to customize the magit-diff-file-heading face - do M-x customize-face and paste magit-diff-file-heading as name. In the dialog, select "Show all attributes", and customize it, for example, change Foreground to Orange