aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-misc.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-misc.el')
-rw-r--r--.emacs.d/lisp/init-misc.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index 0e34af4..35e9756 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -105,15 +105,17 @@
(use-package projectile
:init
- (evil-define-key 'normal projectile-mode-map
- (kbd "<leader>p") 'projectile-command-map
- (kbd "<leader>ff") 'projectile-find-file
- (kbd "<leader>fr") 'projectile-ripgrep)
(setq projectile-cache-file (expand-file-name ".cache/projectile" user-emacs-directory)
projectile-require-project-root nil)
:config
(projectile-mode 1))
+(with-eval-after-load 'evil
+ (evil-define-key 'normal projectile-mode-map
+ (kbd "<leader>p") 'projectile-command-map
+ (kbd "<leader>ff") 'projectile-find-file
+ (kbd "<leader>fr") 'projectile-ripgrep))
+
(use-package rg
:ensure t
:commands (rg rg-menu))