forked from colonelpanic/dotfiles
[Emacs] Have consult use projectile to find project root
This commit is contained in:
parent
1cda332da4
commit
e65980e291
@ -2009,8 +2009,12 @@ Neotree is useless with frame mode for now, so I've disabled it.
|
|||||||
** consult
|
** consult
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package consult
|
(use-package consult
|
||||||
|
:commands consult-ripgrep
|
||||||
:bind (("C-x b" . consult-buffer)
|
: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
|
#+end_src
|
||||||
** company
|
** company
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user