(use-package projectile :ensure t :defer t) (setq projectile-cache-file (expand-file-name ".cache/projectile" user-emacs-directory) projectile-require-project-root nil) (add-hook 'after-init-hook (lambda () (projectile-mode 1))) (with-eval-after-load 'evil (evil-define-key 'normal projectile-mode-map (kbd "p") 'projectile-command-map (kbd "ff") 'projectile-find-file (kbd "fr") 'projectile-ripgrep)) (provide 'init-projectile)