Commit 6960a7182376

Vincent Demeester <vincent@sbr.pm>
2020-04-15 18:45:19
emacs: add git-annex and magit-annex support 🎲
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 599aa1b
Changed files (2)
modules
profiles
tools
emacs
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
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)