Skip to main content

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
0 answers
21 views

With helm-do-grep-ag, how can I helm-toggle-truncate-line to be able to see the whole line?

The results for helm-do-grep-ag disappears off screen I've found this command C-c > (helm-toggle-truncate-line) to truncate lines This works;) , but I want to set it default.
Jason Hunter's user avatar
1 vote
0 answers
21 views

How can I make helm-do-grep-ag show the path of the file?

If I search with ag, then it prints the whole path of the filename, relative to the starting directory. , but if I search with helm-do-grep-ag, it only prints the filename. How can I make helm-do-grep-...
Jason Hunter's user avatar
0 votes
1 answer
233 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 ...
Peter Becich's user avatar
0 votes
1 answer
253 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 ...
Chip Grandits's user avatar
0 votes
1 answer
275 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 ...
x-yuri's user avatar
  • 291
0 votes
0 answers
121 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?
cammil's user avatar
  • 509
1 vote
0 answers
126 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 ...
karansag's user avatar
1 vote
2 answers
725 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 ...
3N4N's user avatar
  • 187
1 vote
1 answer
173 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 ...
Martin Buchmann's user avatar
3 votes
0 answers
155 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 ...
Anton I. Sipos's user avatar
3 votes
2 answers
622 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?
user10375's user avatar
  • 245
0 votes
1 answer
429 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 ...
alecvn's user avatar
  • 419
4 votes
2 answers
475 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 ...
ned_zeppelin's user avatar