From e0258c8fd9d8fe4c8545132405280bd3bfb865b3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 3 Dec 2023 16:02:52 +0000 Subject: [PATCH] Restore project-switch-commands --- home/emacs/init.el | 6 +++++- home/emacs/init.org | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/home/emacs/init.el b/home/emacs/init.el index 17381272..f44b119a 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -487,7 +487,11 @@ (global-flymake-popon-mode +1)) (setq project-switch-use-entire-map t - project-switch-commands 'project-dired) + project-switch-commands '((project-find-file "Find file") + (project-find-regexp "Find regexp") + (project-find-dir "Find directory") + (project-vc-dir "VC-Dir") + (project-eshell "Eshell"))) (use-package magit :ensure t diff --git a/home/emacs/init.org b/home/emacs/init.org index f2951ce6..180fbfa1 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -589,7 +589,11 @@ For reference information, see [[https://orgmode.com][Org-mode website]] ** Project #+BEGIN_SRC emacs-lisp (setq project-switch-use-entire-map t - project-switch-commands 'project-dired) + project-switch-commands '((project-find-file "Find file") + (project-find-regexp "Find regexp") + (project-find-dir "Find directory") + (project-vc-dir "VC-Dir") + (project-eshell "Eshell"))) #+END_SRC ** Version control *** Magit