diff options
author | Franck Cuny <franck@fcuny.net> | 2024-09-03 19:24:44 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-09-03 19:24:44 -0700 |
commit | 7cb20e2d7a7f94f9a3fd66e5bf94bee040423f7a (patch) | |
tree | 07a35a864cc84a30651b585484e7163fcb41b9b9 | |
parent | ignore a few files (diff) | |
download | emacs.d-7cb20e2d7a7f94f9a3fd66e5bf94bee040423f7a.tar.gz |
some more configuration for magit
-rw-r--r-- | config/init-project.el | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/config/init-project.el b/config/init-project.el index ad57069..62c246c 100644 --- a/config/init-project.el +++ b/config/init-project.el @@ -12,6 +12,24 @@ :bind ("C-x g" . magit-status) :custom (magit-diff-refine-hunk t) + (magit-repository-directories + '(("~/workspace" . 1))) + (magit-repolist-column-flag-alist + '((magit-untracked-files . "N") + (magit-unstaged-files . "U") + (magit-staged-files . "S"))) + (magit-repolist-columns + '(("Name" 25 magit-repolist-column-ident nil) + ("" 3 magit-repolist-column-flag) + ("Version" 25 magit-repolist-column-version + ((:sort magit-repolist-version<))) + ("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 <))) + ("Path" 99 magit-repolist-column-path nil))) (magit-clone-default-directory "~/workspace/") :config ;; show ANSI colors in the process buffer, so it's easier to read what's going on |