Customize columns for listing magit repositories

Shrink fist column, because my repositories are usually not that long.
Version information is also less important than upstream divergence to
me, so let's move this behind.
This commit is contained in:
Daniel Borchmann 2025-02-16 17:59:49 +01:00
parent 003121ba0c
commit 2cbafcfbfc
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

13
init.el
View File

@ -1450,6 +1450,19 @@ Note that this workaround is incomplete, as explained in this comment."
;; that are not selected, to increase performance. ;; that are not selected, to increase performance.
(setq magit-refresh-status-buffer nil))) (setq magit-refresh-status-buffer nil)))
:custom ((magit-repolist-columns '(("Name" 15 magit-repolist-column-ident
())
("B<U" 3 magit-repolist-column-unpulled-from-upstream
((:right-align t)
(:sort <)))
("B>U" 3 magit-repolist-column-unpushed-to-upstream
((:right-align t)
(:sort <)))
("Version" 25 magit-repolist-column-version
((:sort magit-repolist-version<)))
("Path" 99 magit-repolist-column-path
()))))
:config (progn :config (progn
(when (fboundp 'global-magit-file-mode) (when (fboundp 'global-magit-file-mode)
(global-magit-file-mode -1)) (global-magit-file-mode -1))