From 105d696be9bc7d25a99bf06b5d2e0074913d1685 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 3 Feb 2022 09:09:49 -0800 Subject: projectile: initial configuration Now that there's no mono-repo to worry about, I can use again projectile. Also add the integration with counsel. --- emacs/custom/fcuny-navigation.el | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'emacs') diff --git a/emacs/custom/fcuny-navigation.el b/emacs/custom/fcuny-navigation.el index 1268185..2258b98 100644 --- a/emacs/custom/fcuny-navigation.el +++ b/emacs/custom/fcuny-navigation.el @@ -2,6 +2,23 @@ (setq help-window-select t) +(use-package projectile + :diminish projectile-mode + :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)) + (use-package bookmark :custom (bookmark-default-file (expand-file-name "bookmarks" fcuny/path-emacs-var)) -- cgit 1.4.1