Magit: Add some magit-repository-directories

master
Pierre Neidhardt 2019-02-27 12:52:37 +01:00
parent bcedb4c30b
commit 5f28d09a3b
1 changed files with 3 additions and 0 deletions

View File

@ -268,6 +268,9 @@
;; Avoid conflict with WM.
(define-key magit-mode-map (kbd "s-<tab>") nil)
(setq magit-diff-refine-hunk 'all)
(setq magit-repository-directories '("~/common-lisp" ; TODO: Sync with homesync / homeinit?
"~/projects"
"~/.local/share/emacs/site-lisp"))
(when (require 'magit-todos nil t)
;; REVIEW: Default scanner does not work on Guix because Git needs be compiled with PCRE.
(setq magit-todos-scanner #'magit-todos--scan-with-find|grep)