git » emacs.d.git » commit 959c89e

Add projectile

author Alan Dipert
2023-05-01 19:48:58 UTC
committer Alan Dipert
2023-05-01 19:48:58 UTC
parent 332c169c16c6dd2236ef43f9562d51e0913cf43e

Add projectile

init.el +12 -0

diff --git a/init.el b/init.el
index 593623d..ff20557 100644
--- a/init.el
+++ b/init.el
@@ -110,6 +110,17 @@
 (use-package org)
 (use-package smartparens)
 
+(use-package projectile
+  :init (projectile-mode)
+  :custom
+  (projectile-completion-system 'default)
+  (projectile-enable-caching t)
+  (projectile-file-exists-remote-cache-expire (* 10 60))
+  (projectile-file-exists-local-cache-expire (* 10 60)))
+
+(use-package consult-projectile
+  :straight (consult-projectile :type git :host gitlab :repo "OlMon/consult-projectile" :branch "master"))
+
 (use-package meow
   :config
   (setq meow-cheatsheet-layout meow-cheatsheet-layout-colemak)
@@ -123,6 +134,7 @@
    '("." . embark-act)
    '("?" . meow-cheatsheet)
    '("p" . meow-paren-mode)
+   '("P" . projectile-command-map)
    '("a" . avy-goto-char-timer)
    '("G" . magit-status)
    '("f" . meow-page-down)