commit a85d881cc9d4cc6c3bfd798d580e3405b72b9ca8 parent 635513852cc45c7b791c41f3ab99bc00a232b644 Author: Vincent Demeester <vincent@sbr.pm> Date: Wed, 6 Apr 2022 02:47:39 +0200 tools/emacs: set project-switch-commands Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/config/config-projects.el | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-projects.el b/tools/emacs/config/config-projects.el @@ -9,6 +9,15 @@ :config (setq vde/project-local-identifier '(".project" "go.mod")) + (setq project-switch-commands + '((?f "File" project-find-file) + (?g "Grep" project-find-regexp) + (?d "Dired" project-dired) + (?b "Buffer" project-switch-to-buffer) + (?q "Query replace" project-query-replace-regexp) + (?m "Magit" vde-project-magit-status) + (?e "Eshell" project-eshell) + (?s "Vterm" vde-project-vterm))) (defun vde/project-try-local (dir) "Determine if DIR is a non-VC project."