Function: hsys-consult-org-roam-grep
hsys-consult-org-roam-grep is an autoloaded, interactive and
byte-compiled function defined in hsys-consult.el.
Signature
(hsys-consult-org-roam-grep &optional REGEXP MAX-MATCHES)
Documentation
Interactively narrow and select Org Roam nodes by line.
Use ripgrep (rg) if found, otherwise, plain grep to search Org
files within org-roam-directory. Initialize search with
optional REGEXP and interactively prompt for changes. Limit
matches per file to the absolute value of MAX-MATCHES, if given
and not 0. If 0, match to the start of headline text only (lines
that start with the '^[*#]+[ ]*' regexp).
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsys-consult.el
;;;###autoload
(defun hsys-consult-org-roam-grep (&optional regexp max-matches)
"Interactively narrow and select Org Roam nodes by line.
Use ripgrep (rg) if found, otherwise, plain grep to search Org
files within `org-roam-directory'. Initialize search with
optional REGEXP and interactively prompt for changes. Limit
matches per file to the absolute value of MAX-MATCHES, if given
and not 0. If 0, match to the start of headline text only (lines
that start with the '^[*#]+[ \t]*' regexp)."
(interactive "i\nP")
(hsys-consult--org-roam-call-function
(lambda ()
(let ((consult-grep-args
(if (listp consult-grep-args)
(append consult-grep-args (list "--include *.org"))
(concat consult-grep-args " --include *.org")))
(consult-ripgrep-args
(if (listp consult-ripgrep-args)
(append consult-ripgrep-args (list "--glob *.org"))
(concat consult-ripgrep-args " --glob *.org"))))
(hsys-consult--grep-paths (list org-roam-directory) regexp max-matches
"Grep Org Roam Nodes")))))