Add consult-projectile and bind consult-narrow
This commit is contained in:
parent
b385f3a039
commit
84b8fdfd51
@ -153,6 +153,7 @@ targets."
|
|||||||
:custom
|
:custom
|
||||||
(consult-project-function #'projectile-project-root)
|
(consult-project-function #'projectile-project-root)
|
||||||
(consult-find-args "find . -not ( -wholename */.git/* -prune )")
|
(consult-find-args "find . -not ( -wholename */.git/* -prune )")
|
||||||
|
(consult-narrow-key "<")
|
||||||
:general
|
:general
|
||||||
([remap switch-to-buffer] #'consult-buffer)
|
([remap switch-to-buffer] #'consult-buffer)
|
||||||
([remap imenu] #'consult-imenu)
|
([remap imenu] #'consult-imenu)
|
||||||
@ -160,6 +161,13 @@ targets."
|
|||||||
([remap projectile-grep] #'consult-grep)
|
([remap projectile-grep] #'consult-grep)
|
||||||
("C-c p" #'consult-yank-from-kill-ring))
|
("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
|
(use-package consult-eglot
|
||||||
:after (consult eglot)
|
:after (consult eglot)
|
||||||
:general
|
:general
|
||||||
|
Loading…
Reference in New Issue
Block a user