From 6e10e767c4a1816d8672b7af1781cd63226ce45c Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Sun, 21 Aug 2022 03:23:36 +0200 Subject: Emacs: Projectile open dired on project switch --- Emacs.org | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Emacs.org') diff --git a/Emacs.org b/Emacs.org index d83c2b4..7f753fe 100644 --- a/Emacs.org +++ b/Emacs.org @@ -593,13 +593,15 @@ #+begin_src emacs-lisp - (use-package projectile - :diminish projectile-mode - :init - (when (file-directory-p "~/Documents/code") - (setq projectile-project-search-path '("~/Documents/code/"))) - :config (projectile-mode) - :custom ((projectile-Completion-system 'ivy))) + (use-package projectile + :diminish projectile-mode + :init + (when (file-directory-p "~/Documents/code") + (setq projectile-project-search-path '("~/Documents/code/"))) + :custom ((projectile-Completion-system 'ivy)) + :config + (setq projectile-switch-project-action #'projectile-dired) + (projectile-mode)) #+end_src -- cgit v1.2.3