From 6423dd73d8a51a3edaf3b6046ae70d3c9c9fe8c9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 18 Oct 2023 06:12:34 +0100 Subject: [PATCH] Improve emacs workspace switching Change switch project function to doom-project-browse, allows quick access to being in project directory without having to open a file --- home/emacs/doom/config.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/emacs/doom/config.el b/home/emacs/doom/config.el index b2e3d740..fa97522e 100644 --- a/home/emacs/doom/config.el +++ b/home/emacs/doom/config.el @@ -30,6 +30,10 @@ (set-frame-parameter nil 'alpha-background 80) (add-to-list 'default-frame-alist '(alpha-background . 80)) +(after! projectile + (setq +workspaces-switch-project-function 'doom-project-browse + doom-projectile-cache-purge-non-projects t)) + ;; DOOM Dashboard customisation (setq +doom-dashboard-menu-sections '(("Recently opened files"