From e65980e291723f422b502e9f158637bdc1ae0b43 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Fri, 28 Jul 2023 16:51:53 +0000 Subject: [PATCH] [Emacs] Have consult use projectile to find project root --- dotfiles/emacs.d/README.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index cc89954c..09d687f1 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2009,8 +2009,12 @@ Neotree is useless with frame mode for now, so I've disabled it. ** consult #+begin_src emacs-lisp (use-package consult + :commands consult-ripgrep :bind (("C-x b" . consult-buffer) - ("C-x C-i" . consult-imenu))) + ("C-x C-i" . consult-imenu)) + :config + (progn + (setq consult-project-function 'projectile-project-root))) #+end_src ** company #+BEGIN_SRC emacs-lisp