diff --git a/emacs/.emacs.d/config/init-projects.el b/emacs/.emacs.d/config/init-projects.el index 0b89fb0..0eb4501 100644 --- a/emacs/.emacs.d/config/init-projects.el +++ b/emacs/.emacs.d/config/init-projects.el @@ -2,10 +2,12 @@ ;; Project management (use-package projectile - :commands (projectile-project-root) + :demand + :autoload (projectile-project-root) + :general + (leader-map "p" `(,projectile-command-map :which-key "projectile")) :config - (projectile-mode 1) - (leader-def-key "p" '(projectile-command-map :which-key "projectile"))) + (projectile-mode 1)) ;; Ripgrep integration (use-package projectile-ripgrep