dotfiles/doom/.config/doom/+projects.el

19 lines
550 B
EmacsLisp

;;; $DOOMDIR/+projects.el -*- lexical-binding: t; -*-
(defvar project-locations '(("~/ghq/" . 3)
("~/.dotfiles" . 0)
("~/configs" . 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))
(use-package! ghq)