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)
|
(emms-cache-enable)
|
||||||
(add-hook 'emms-player-started-hook #'emms-show))
|
(add-hook 'emms-player-started-hook #'emms-show))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:custom
|
:custom
|
||||||
(org-directory "~/Documents/Org")
|
(org-directory "~/Documents/Org")
|
||||||
|
@ -974,6 +972,14 @@ Uses `my/projects-directory' to find correct directory"
|
||||||
(project-eshell "Eshell")
|
(project-eshell "Eshell")
|
||||||
(magit-project-status "Magit")))
|
(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
|
(use-package magit
|
||||||
:bind (("C-c g g" . magit-status)
|
:bind (("C-c g g" . magit-status)
|
||||||
("C-c g d" . magit-dispatch)
|
("C-c g d" . magit-dispatch)
|
||||||
|
|
Loading…
Reference in a new issue