0

How can I show an additional column in Dired, where I can see if the file is tracked or not by git in the current branch?

1 Answer 1

2

You might want to look at diff-hl and this answer on Stack Exchange. Basically, diff-hl puts the git status of files in a dir in the margin rather than in the column. Depending on what exactly you're looking for, this should suffice. Just add the diff-hl package, and use (add-hook 'dired-mode-hook 'diff-hl-dired-mode)

1
  • Superb! Thank you ! Commented Jul 5, 2021 at 14:46

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.