summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-03 14:27:05 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-03 14:27:05 -0800
commit1490dfedf6246c15d0b0d97f809fea25f18159f1 (patch)
tree87fc261509b2c4f731ba175c51380ceab496d27a
parentorg: fix URL for Jira (diff)
downloademacs.d-1490dfedf6246c15d0b0d97f809fea25f18159f1.tar.gz
project: replace projectile with project.el
project.el is part of emacs, so that's fewer external dependencies.
-rw-r--r--emacs/custom/fcuny-navigation.el26
1 files changed, 11 insertions, 15 deletions
diff --git a/emacs/custom/fcuny-navigation.el b/emacs/custom/fcuny-navigation.el
index 2258b98..f168268 100644
--- a/emacs/custom/fcuny-navigation.el
+++ b/emacs/custom/fcuny-navigation.el
@@ -2,22 +2,18 @@
 
 (setq help-window-select t)
 
-(use-package projectile
-  :diminish projectile-mode
+(use-package project
   :ensure t
-  :bind-keymap ("C-c p" . projectile-command-map)
-  :after (ivy)
-  :config
-  (setq projectile-known-projects-file
-        (expand-file-name "projectile-bookmarks.eld" fcuny/path-emacs-var))
-  (setq projectile-completion-system 'ivy)
-  (projectile-mode))
-
-(use-package counsel-projectile
-  :ensure t
-  :after (projectile ivy)
-  :config
-  (counsel-projectile-mode 1))
+  :bind-keymap ("C-c p" . project-prefix-map)
+  :custom
+  (project-list-file (expand-file-name "projects" fcuny/path-emacs-var))
+  (project-switch-commands
+   '((?f "File" project-find-file)
+     (?d "Dired" project-dired)
+     (?b "Buffer" project-switch-to-buffer)
+     (?e "Eshell" project-eshell)
+     (?m "Magit status" magit-project-status)
+     (?r "Search" rg-project))))
 
 (use-package bookmark
   :custom