Questions tagged [ag]

is the code searching tool similar to `ack` but uses `pthreads` for faster searches.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 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 ...
user avatar
0 votes
1 answer
76 views

How do I set path for ag for helm-do-grep-ag

I am on MacOS (darwin) and when I attempt helm-do-grep-ag I get a zsh error zsh:1: command not found: ag. What is the proper way to address this? My ag is homebrewed and so is in /usr/local/bin I ...
user avatar
0 votes
1 answer
85 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 ...
user avatar
  • 239
0 votes
0 answers
62 views

How to use helm to search a buffer?

I would like to use the helm machinery to search "live" a buffer's lines. Is this possible? If not how would I go about figuring out how to implement this?
user avatar
  • 509
1 vote
0 answers
70 views

helm-ag (or equivalent) open selection in existing window?

If you run helm-ag (I typically do this with helm-projectile-ag, but I think it should be similar) and select a match, the file / buffer opens in the last used window. My question is this: If a you ...
user avatar
1 vote
2 answers
432 views

How do I use silversearcher-ag with Emacs without a package

I've read Grep Searching from the manual. The basic that I've found out are that I can use grep command in Emacs. I was wondering if I could use silversearcher-ag as an alternative to grep in M-x grep ...
user avatar
  • 177
1 vote
1 answer
123 views

counsel-ag shows no output

I try to use counsel-ag to grep through all files in a directory for a string. Basically, I thought this is what it was made for. I have ag 2.2.0 installed via macports on OS X 10.10.5 and it works ...
user avatar
2 votes
0 answers
119 views

Faster way to store an org link to an identifier in a projectile project?

I'm trying to come up with a faster workflow for storing org-file links to parts of a source code tree. I'm generally starting in my org file taking notes, doing a helm-ag to search for some function ...
user avatar
3 votes
2 answers
545 views

helm-projectile-ag use thing-at-point as input?

I want to use the current word as the input when I do helm-projectile-ag. That saves me the typing work. I didn't see this option in customize. How would I implement that?
user avatar
  • 245
0 votes
1 answer
399 views

How to search for files, directories or grep(ag) from a directory inside a project with helm-projectile?

helm-projectile makes you set a project before trying to find files or directories, or searching through files with ag. All the searches are then based from the project root. How does one start, for ...
user avatar
  • 339
4 votes
2 answers
411 views

Helm-ag result buffer disappears

After doing a helm-ag search there is an option to 'save results in buffer'. My issue is that the result buffer disappears if another buffer or file is opened. Is there some way to prevent the buffer ...
user avatar