doom: set list of magit repositories to projectiles
parent
1bf9fd108d
commit
fff29fe56f
|
@ -0,0 +1,17 @@
|
|||
;;; ../../.dotfiles/doom/.config/doom/+projects.el -*- lexical-binding: t; -*-
|
||||
;;; Project management
|
||||
|
||||
(defvar project-locations '(("~/ghq/" . 3)
|
||||
("~/.dotfiles" . 0)
|
||||
("~/ansible" . 0))
|
||||
"Where all my projects are located.
|
||||
|
||||
Most of them are managed using `ghq' in ~/ghq/, however there are also some
|
||||
projects in other locations.")
|
||||
|
||||
(after! projectile
|
||||
(setq projectile-project-search-path project-locations))
|
||||
|
||||
(after! magit
|
||||
(setq magit-save-repository-buffers t
|
||||
magit-repository-directories project-locations))
|
|
@ -41,5 +41,4 @@
|
|||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||
;; they are implemented.
|
||||
|
||||
;; Projects
|
||||
(setq projectile-project-search-path '(("~/ghq/" . 3)))
|
||||
(load! "+projects")
|
||||
|
|
Loading…
Reference in New Issue