From 1490dfedf6246c15d0b0d97f809fea25f18159f1 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 14:27:05 -0800 Subject: project: replace projectile with project.el project.el is part of emacs, so that's fewer external dependencies. --- emacs/custom/fcuny-navigation.el | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'emacs') 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 -- cgit 1.4.1