summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdlugosz963 <jdlugosz963@gmail.com>2022-08-21 03:23:36 +0200
committerjdlugosz963 <jdlugosz963@gmail.com>2022-08-21 03:23:36 +0200
commit6e10e767c4a1816d8672b7af1781cd63226ce45c (patch)
tree8d80e304ee6ea2bae6a579fa7d25dd92eced10be
parenteb00835f6dc8ba2041c66994c47a0d197fa8df74 (diff)
downloaddotfiles-6e10e767c4a1816d8672b7af1781cd63226ce45c.tar.gz
dotfiles-6e10e767c4a1816d8672b7af1781cd63226ce45c.zip
Emacs: Projectile open dired on project switch
-rw-r--r--Emacs.org16
1 files changed, 9 insertions, 7 deletions
diff --git a/Emacs.org b/Emacs.org
index d83c2b4..7f753fe 100644
--- a/Emacs.org
+++ b/Emacs.org
@@ -593,13 +593,15 @@
593 593
594#+begin_src emacs-lisp 594#+begin_src emacs-lisp
595 595
596 (use-package projectile 596 (use-package projectile
597 :diminish projectile-mode 597 :diminish projectile-mode
598 :init 598 :init
599 (when (file-directory-p "~/Documents/code") 599 (when (file-directory-p "~/Documents/code")
600 (setq projectile-project-search-path '("~/Documents/code/"))) 600 (setq projectile-project-search-path '("~/Documents/code/")))
601 :config (projectile-mode) 601 :custom ((projectile-Completion-system 'ivy))
602 :custom ((projectile-Completion-system 'ivy))) 602 :config
603 (setq projectile-switch-project-action #'projectile-dired)
604 (projectile-mode))
603 605
604#+end_src 606#+end_src
605 607