diff --git a/emacs/.emacs.d/config/init-completion.el b/emacs/.emacs.d/config/init-completion.el index c4e370b..8d5f96f 100644 --- a/emacs/.emacs.d/config/init-completion.el +++ b/emacs/.emacs.d/config/init-completion.el @@ -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