From bf477084505f9a2aa68c781d2e3be17852ac5ef2 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 18 Sep 2025 16:42:44 +0200 Subject: [PATCH] Reenable dispatch actions when entering a project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the default, and I often find myself switching from eshell to dired when entering a new project – but not always. So let's ask what to open when entering a new project instead. --- init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 33a6b25..9b295b8 100644 --- a/init.el +++ b/init.el @@ -318,7 +318,13 @@ (use-package project :init (setopt project-list-file (expand-file-name "projects" emacs-d-userdata) - project-switch-commands 'project-eshell + project-switch-commands '((project-dired "Dired") + (project-find-file "Find file") + (project-find-regexp "Find regexp") + (project-find-dir "Find directory") + (project-vc-dir "VC-Dir") + (project-eshell "Eshell") + (project-any-command "Other")) project-vc-merge-submodules nil project-mode-line nil) :config (progn