Change project switch command to browse root dir without prompt

This commit is contained in:
Evie Litherland-Smith 2023-11-23 08:19:40 +00:00
parent ac0f8ac66d
commit c4932e0738
2 changed files with 2 additions and 12 deletions

View file

@ -435,12 +435,7 @@
(eglot-autoreconnect nil)) (eglot-autoreconnect nil))
(setq project-switch-use-entire-map t (setq project-switch-use-entire-map t
project-switch-commands project-switch-commands 'project-dired)
'((project-dired "Browse directory")
(project-find-file "Find file")
(project-find-regexp "Find regexp")
(project-find-dir "Find directory")
(project-eshell "Eshell")))
(use-package magit (use-package magit
:ensure t :ensure t

View file

@ -520,12 +520,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
** Project ** Project
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq project-switch-use-entire-map t (setq project-switch-use-entire-map t
project-switch-commands project-switch-commands 'project-dired)
'((project-dired "Browse directory")
(project-find-file "Find file")
(project-find-regexp "Find regexp")
(project-find-dir "Find directory")
(project-eshell "Eshell")))
#+END_SRC #+END_SRC
** Version control ** Version control
*** Magit *** Magit