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
0answers
4 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 work ...
0
votes
0answers
38 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?
0
votes
0answers
7 views

in ag search compilation mode, next error is replacing the current buffer, rather than showing the error in a new window

I'm searching my project with ag.el, and it shows the search results in a compilation mode window. When I select a result in the compilation mode window it replaces the buffer in that window with ...
1
vote
0answers
44 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 ...
1
vote
2answers
305 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 ...
1
vote
1answer
111 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 ...
2
votes
0answers
109 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 ...
3
votes
2answers
487 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?
0
votes
1answer
350 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 ...
4
votes
2answers
370 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 ...