project: automatically add some common directories if present
This commit is contained in:
parent
8d78ddb1ae
commit
af3caaeaba
10
init.el
10
init.el
|
@ -603,8 +603,6 @@ Uses `my/projects-directory' to find correct directory"
|
|||
(emms-cache-enable)
|
||||
(add-hook 'emms-player-started-hook #'emms-show))
|
||||
|
||||
|
||||
|
||||
(use-package org
|
||||
:custom
|
||||
(org-directory "~/Documents/Org")
|
||||
|
@ -974,6 +972,14 @@ Uses `my/projects-directory' to find correct directory"
|
|||
(project-eshell "Eshell")
|
||||
(magit-project-status "Magit")))
|
||||
|
||||
(use-package project
|
||||
:config
|
||||
(if (file-exists-p "~/.config/")
|
||||
(project-remember-projects-under "~/.config/" t))
|
||||
(if (file-exists-p "~/Projects/")
|
||||
(project-remember-projects-under "~/Projects/" t))
|
||||
(project-forget-zombie-projects))
|
||||
|
||||
(use-package magit
|
||||
:bind (("C-c g g" . magit-status)
|
||||
("C-c g d" . magit-dispatch)
|
||||
|
|
Loading…
Reference in a new issue