Skip to content

Commit

Permalink
fix: speed up ,S (ripgrep all org)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsilve24 committed Nov 11, 2024
1 parent 44e253e commit 61c085e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completing-read.el
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ This only works with orderless and for the first component of the search."
"Run consult ripgrep on all org files in ~/Dropbox/org/"
(interactive)
(let ((dir "~/Dropbox/org/")
(consult-ripgrep-args "rg --null --line-buffered --color=never --max-columns=1000 --path-separator / --smart-case --no-heading --line-number -g \"*.org\" ."))
(consult-ripgrep-args "rg --null --line-buffered --color=never --max-columns=1000 --path-separator / --smart-case --no-heading --line-number -g \"*.org\" .")
(consult-preview-key nil))
(if initial
(funcall consult-org-roam-grep-func dir (format "%s" initial))
(funcall consult-org-roam-grep-func dir))))
Expand Down

0 comments on commit 61c085e

Please sign in to comment.