Configure dired-git-info variables

dgi-commit-message-format set to

%h  - Abbreviated commit hash
%cs - committer date, short format (YYYY-MM-DD)
%s  - subject

First two are fixed-width, which makes it look neater.
This commit is contained in:
t-e-r-m 2020-08-19 18:28:27 +05:30
parent 4bc70a8537
commit 4e92adaa08

View File

@ -173,6 +173,8 @@ we have to clean it up ourselves."
(map! :after dired
:map (dired-mode-map ranger-mode-map)
:ng ")" #'dired-git-info-mode)
(setq dgi-commit-message-format "%h %cs %s"
dgi-auto-hide-details-p nil)
(after! wdired
;; Temporarily disable `dired-git-info-mode' when entering wdired, due to
;; reported incompatibilities.