From 2495ea29aafdf476e0f0b741079442dd5cb1393d Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Mon, 11 Apr 2022 16:59:16 -0700 Subject: emacs: automated project discovery --- .emacs.local.d/config.el | 4 +++- .emacs.local.d/modes/projectile.el | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.emacs.local.d/config.el b/.emacs.local.d/config.el index ffc641a..f7f5f84 100644 --- a/.emacs.local.d/config.el +++ b/.emacs.local.d/config.el @@ -5,4 +5,6 @@ my-org-journal-file-format "%Y.org" my-org-journal-time-prefix "* " my-org-refile-path "~/refile.org" - my-org-roam-directory "~/org/roam/") + my-org-roam-directory "~/org/roam/" + my-projectile-project-search-path '("~/src/") +) diff --git a/.emacs.local.d/modes/projectile.el b/.emacs.local.d/modes/projectile.el index 9666053..776bb3a 100644 --- a/.emacs.local.d/modes/projectile.el +++ b/.emacs.local.d/modes/projectile.el @@ -3,4 +3,5 @@ (use-package projectile :config (setq projectile-completion-system 'ivy) + (setq projectile-project-search-path my-projectile-project-search-path) ) -- cgit v1.2.3