summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@roblox.com>2022-02-03 09:09:49 -0800
committerFranck Cuny <fcuny@roblox.com>2022-02-03 09:09:49 -0800
commit105d696be9bc7d25a99bf06b5d2e0074913d1685 (patch)
tree07aaffc60f72ccbe7e198a43e30df9956b45cd18 /emacs/custom
parentconfig: add package for chef (diff)
downloademacs.d-105d696be9bc7d25a99bf06b5d2e0074913d1685.tar.gz
projectile: initial configuration
Now that there's no mono-repo to worry about, I can use again
projectile.

Also add the integration with counsel.
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-navigation.el17
1 files changed, 17 insertions, 0 deletions
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))