Magit: Set list of repos in separate file for easier external parsing.
parent
114564c9e1
commit
b78998dbad
|
@ -214,10 +214,7 @@
|
|||
;; Avoid conflict with WM.
|
||||
(define-key magit-mode-map (kbd "s-<tab>") nil)
|
||||
(setq magit-diff-refine-hunk 'all)
|
||||
(setq magit-repository-directories '(("~/.password-store") ; TODO: Sync with homesync / homeinit?
|
||||
("~/common-lisp" . 1)
|
||||
("~/projects" . 1)
|
||||
("~/.local/share/emacs/site-lisp" . 1)))
|
||||
(require 'init-magit)
|
||||
;; magit-todos can be slow on big projects. Use it manually.
|
||||
;; (when (require 'magit-todos nil 'noerror)
|
||||
;; (magit-todos-mode))
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
;; This file is meant to be loadable without dependencies.
|
||||
;; This allows external programs to easily access the list of repository directories.
|
||||
|
||||
(setq magit-repository-directories '(("~/.password-store")
|
||||
("~/common-lisp" . 1)
|
||||
("~/projects" . 1)
|
||||
("~/.local/share/emacs/site-lisp" . 1)))
|
||||
|
||||
(provide 'init-magit)
|
Loading…
Reference in New Issue