Change project switch command to browse root dir without prompt
This commit is contained in:
parent
ac0f8ac66d
commit
c4932e0738
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue