Questions tagged [ripgrep]
is a line-oriented search tool for recursive searches according to a regexp pattern.
16 questions
0 votes
1 answer
98 views
Ripgrep doesn't output any result on Windows
I'm running ripgrep search on Windows inside emacs. My config is (setq grep-command "rg -nS --no-heading " grep-use-null-device nil) When I run command M-x grep and pass, for example, ...
0 votes
0 answers
54 views
How can I prevent rg.el from opening the first result?
Whenever it opens the first result, I often have to decline lsp to start up in that project If I can avoid opening the first result, this would give me a zen moment.
0 votes
0 answers
240 views
consult-ripgrep - Error running timer: (file-missing "Searching for program" "No such file or directory" "rg")
Emacs 29.3 GNU (Flatpak) - installed by Software Manager Linux Mint 21.3 Install ripgrep: apt install ripgrep In init.el (use-package rg :ensure t :ensure-system-package rg) (use-package consult ...
1 vote
1 answer
110 views
Repeat the same search in `helm-rg`, visiting buffers between search
I'm trying to do the following: find all buffers containing text "foo" visit each of those buffers to perform some edition Using helm-rg, I'm forced to do this: M-x helm-rg Enter the text ...
0 votes
3 answers
304 views
Why can't counsel-rg index an expression previously found?
I am using trying to use a command called counsel-rg. This is the associated describe-command: counsel-rg is an autoloaded interactive compiled Lisp function in ‘counsel.el’. (counsel-rg &...
0 votes
2 answers
462 views
Using rg (ripgrep): passing --files-without-match option flag
how would I pass (in interactive mode for rg) the --files-without-match flag.. There is no short option, and C-x l doesn't show a possibility either. I can do a M-x customize-group on rg to set it for ...
0 votes
1 answer
312 views
How do I make `helm` save search results in a grep buffer?
I do helm-find-files (C-x c C-x C-f>), Tab, "Grep current directory with AG" (M-g a), enter pattern, Tab, "Save results in grep buffer" (F3). Now, how do I make M-g M-n/M-g M-p ...
1 vote
1 answer
282 views
Why can't I use rg (ripgrep) in an Org mode source block?
I have the following source block in my Org mode file: #+begin_src sh :results output exec 2>&1 mkdir -p /tmp/example && cd /tmp/example echo "hello" > world rg --...