aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-projectile.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-projectile.el')
-rw-r--r--.emacs.d/lisp/init-projectile.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-projectile.el b/.emacs.d/lisp/init-projectile.el
index 08c1124..4169387 100644
--- a/.emacs.d/lisp/init-projectile.el
+++ b/.emacs.d/lisp/init-projectile.el
@@ -1,5 +1,5 @@
(when (gx/maybe-require-package 'projectile)
- (add-hook 'after-init-hook (lambda () (projectile-mode 1))))
+ (add-hook 'after-init-hook #'projectile-mode))
(with-eval-after-load 'projectile
(gx/diminish 'projectile-mode))
@@ -9,8 +9,6 @@
(with-eval-after-load 'evil
(evil-define-key 'normal projectile-mode-map
- (kbd "<leader>fp") 'projectile-switch-project
- (kbd "<leader>ff") 'projectile-find-file
- (kbd "<leader>fr") 'projectile-ripgrep))
+ (kbd "<leader>fp") 'projectile-switch-project))
(provide 'init-projectile)