Add consult-projectile and bind consult-narrow

This commit is contained in:
Jeremy Dormitzer 2024-04-03 18:46:24 -06:00
parent b385f3a039
commit 84b8fdfd51

View File

@ -153,6 +153,7 @@ targets."
:custom
(consult-project-function #'projectile-project-root)
(consult-find-args "find . -not ( -wholename */.git/* -prune )")
(consult-narrow-key "<")
:general
([remap switch-to-buffer] #'consult-buffer)
([remap imenu] #'consult-imenu)
@ -160,6 +161,13 @@ targets."
([remap projectile-grep] #'consult-grep)
("C-c p" #'consult-yank-from-kill-ring))
(use-package consult-projectile
:after (consult projectile)
:commands (consult-projectile)
:general
(projectile-command-map "RET" #'consult-projectile))
(use-package consult-eglot
:after (consult eglot)
:general