From 2cbafcfbfc25e9110c97009c40ae872e9bc6cca5 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 16 Feb 2025 17:59:49 +0100 Subject: [PATCH] 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. --- init.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/init.el b/init.el index 8ab6565..29d0383 100644 --- a/init.el +++ b/init.el @@ -1450,6 +1450,19 @@ Note that this workaround is incomplete, as explained in this comment." ;; that are not selected, to increase performance. (setq magit-refresh-status-buffer nil))) + :custom ((magit-repolist-columns '(("Name" 15 magit-repolist-column-ident + ()) + ("BU" 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 (when (fboundp 'global-magit-file-mode) (global-magit-file-mode -1))