summary refs log tree commit diff
path: root/config/init-project.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-19 15:46:29 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-19 15:46:29 -0700
commit951a66d7c03d70452acb9cfea52e813fcd54c329 (patch)
treed415b4977513941def3ef4da70276f69c0ae752a /config/init-project.el
parentremove dired-git-info (diff)
downloademacs.d-951a66d7c03d70452acb9cfea52e813fcd54c329.tar.gz
more cleanup
Change-Id: I50be53067767faa745d445f5b55b8be430adeaf3
Diffstat (limited to '')
-rw-r--r--config/init-project.el17
1 files changed, 7 insertions, 10 deletions
diff --git a/config/init-project.el b/config/init-project.el
index 34928c5..f70bc02 100644
--- a/config/init-project.el
+++ b/config/init-project.el
@@ -9,16 +9,13 @@
 
 (require 'init-util)
 
-(require 'project)
-
-(with-eval-after-load 'project
-  (define-key project-prefix-map (kbd "v") 'magit-status))
-
-(global-set-key (kbd "C-x p b") 'consult-project-buffer)
-
-(setq project-switch-commands
-      (append '((magit-status "Magit status"))
-              project-switch-commands))
+(use-package project
+  :config
+  (setq project-switch-commands
+        '((project-find-file "Find file" f)
+          (project-dired "Dired" d)
+          (project-eshell "Eshell" e)
+          (magit-project-status "Magit" ?m))))
 
 (setq-default project-list-file (user-data "projects.eld"))