Function: projectile-ripgrep
projectile-ripgrep is an autoloaded, interactive and byte-compiled
function defined in projectile.el.
Signature
(projectile-ripgrep SEARCH-TERM &optional ARG)
Documentation
Run a ripgrep (rg) search with SEARCH-TERM in the project.
This is projectile-search with the ripgrep backend.
With an optional prefix argument ARG SEARCH-TERM is interpreted as a regular expression.
This command depends on the Emacs packages ripgrep or rg being installed to work.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;;###autoload
(defun projectile-ripgrep (search-term &optional arg)
"Run a ripgrep (rg) search with SEARCH-TERM in the project.
This is `projectile-search' with the ripgrep backend.
With an optional prefix argument ARG SEARCH-TERM is interpreted as a
regular expression.
This command depends on the Emacs packages ripgrep or rg being
installed to work."
(interactive
(list (projectile--read-search-string-with-default
(format "Search %s%s for"
(projectile--search-tool-tag "ripgrep")
(if current-prefix-arg " regexp" "")))
current-prefix-arg))
(let ((projectile-search-backend 'ripgrep))
(projectile-search search-term arg)))