commit 6960a7182376c8be5efc925c1101d111ff61a156
parent 599aa1b3d0df03c4a246f798ffac57e3614ff4ca
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 15 Apr 2020 18:45:19 +0200
emacs: add git-annex and magit-annex support 🎲
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/modules/profiles/emacs.nix b/modules/profiles/emacs.nix
@@ -75,6 +75,7 @@ in
expand-region
flycheck
flycheck-golangci-lint
+ git-annex
git-commit
gitattributes-mode
gitconfig-mode
@@ -135,6 +136,7 @@ in
go-mode
hide-mode-line
magit
+ magit-annex
magit-popup
minions
moody
diff --git a/tools/emacs/config/config-vcs.el b/tools/emacs/config/config-vcs.el
@@ -88,9 +88,9 @@
magit-display-buffer-function #'magit-display-buffer-traditional)
(magit-define-popup-option 'magit-rebase-popup
- ?S "Sign using gpg" "--gpg-sign=" #'magit-read-gpg-secret-key)
+ ?S "Sign using gpg" "--gpg-sign=" #'magit-read-gpg-secret-key)
(magit-define-popup-switch 'magit-log-popup
- ?m "Omit merge commits" "--no-merges")
+ ?m "Omit merge commits" "--no-merges")
;; Hide "Recent Commits"
(magit-add-section-hook 'magit-status-sections-hook
@@ -108,6 +108,17 @@
(add-hook 'after-save-hook #'magit-after-save-refresh-status))
;; -UseMagit
+;; UseMagitAnnex
+(use-package magit-annex
+ :after magit)
+;; -UseMagitAnnex
+
+;; UseGitAnnex
+(use-package git-annex
+ :after dired
+ :defer t)
+;; -UseGitAnnex
+
;; UseGitCommit
(use-package git-commit
:after magit
@@ -134,6 +145,7 @@
overlong-summary-line)))
;; -UseGitCommit
+
;; UseGitConfig
(use-package gitconfig-mode
:commands (gitconfig-mode)