Configure projectile-ripgrep
This commit is contained in:
parent
d6f3a00e26
commit
6f445d35ca
@ -4,10 +4,16 @@
|
||||
(use-package projectile
|
||||
:config
|
||||
(projectile-mode 1)
|
||||
(leader-def-key "p" '(projectile-command-map :which-key "projectile")))
|
||||
(leader-def-key "p" '(projectile-command-map :which-key "projectile"))
|
||||
(defun consult-projectile-ripgrep ()
|
||||
(interactive)
|
||||
(let ((dir (or (projectile-project-root) default-directory)))
|
||||
(consult-ripgrep dir))))
|
||||
|
||||
;; Ripgrep integration
|
||||
(use-package projectile-ripgrep
|
||||
:after projectile)
|
||||
:after projectile
|
||||
:config
|
||||
(evil-collection-ripgrep-setup))
|
||||
|
||||
(provide 'init-projects)
|
||||
|
Loading…
Reference in New Issue
Block a user