Skip to content

Commit

Permalink
Switch to consult-ripgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkreeftmeijer committed Apr 29, 2024
1 parent b5b15e6 commit b502524
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion default.el
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ end tell"))
("C-x p b" . consult-project-buffer)
("M-g g" . consult-goto-line)
("M-g M-g" . consult-goto-line)
("C-x p g" . consult-grep))
("C-x p g" . consult-ripgrep))

(use-package orderless
:ensure t
Expand Down
8 changes: 4 additions & 4 deletions emacs-configuration.org
Original file line number Diff line number Diff line change
Expand Up @@ -742,20 +742,20 @@ There is [[https://github.com/minad/consult?tab=readme-ov-file#available-command
#+RESULTS:
: consult-goto-line

4. Replace ~project-find-regexp~ (=C-x p g=) with ~consult-grep~:
4. Replace ~project-find-regexp~ (=C-x p g=) with ~consult-ripgrep~:

#+headers: :exports none
#+headers: :noweb-ref consult-bind
#+begin_src emacs-lisp
("C-x p g" . consult-grep)
("C-x p g" . consult-ripgrep)
#+end_src

#+begin_src emacs-lisp
(global-set-key (kbd "C-x p g") 'consult-grep)
(global-set-key (kbd "C-x p g") 'consult-ripgrep)
#+end_src

#+RESULTS:
: consult-grep
: consult-ripgrep

#+headers: :exports none
#+headers: :noweb yes
Expand Down

0 comments on commit b502524

Please sign in to comment.