Questions tagged [ripgrep]

is a line-oriented search tool for recursive searches according to a regexp pattern.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

How to refresh content indexed by counsel-projectile-rg after renaming symbols over multiple files?

I am a heavy user of the command called counsel-projectile-rg. As presented by Emacs using self-documenting tools: counsel-projectile-rg is an autoloaded interactive compiled Lisp function in ‘...
0 votes
1 answer
58 views

TRAMP and `projectile-ag`, `projectile-ripgrep` cause kernel panic and complete crash of Mac OS

I am using Emacs and TRAMP on a Mac to access a remote Git repo on a Linux machine. TRAMP is using the SSH protocol. projectile-find-file and routine editing works great. Projectile finds the .git ...
0 votes
0 answers
9 views

Can I sort helm-ag buffer alphabetically by path?

I have a helm-ag buffer containing rg results for a search for text service_current like this: spec/models/screen_spec.rb:101: ...service_current... spec/models/screen_spec.rb:201: ......
0 votes
1 answer
92 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 ...
  • 259
0 votes
1 answer
328 views

How to filter search results by path pattern?

I'm using Projectile with ripgrep. I can search project lines by some pattern, as an example: test 42 will match strings like this so, test is not 42 at all I would like to be able to add additional ...
  • 115
1 vote
1 answer
141 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 --...
  • 973
1 vote
1 answer
462 views

Ripgrep default search

I have been using projectile-ripgrep for a few months and I'm pretty happy with it. A few days ago I was testing some of is options and the default search for ripgrep (what I see in the minibuffer) ...