Questions tagged [helm-ag]
11 questions
2
votes
0 answers
helm-ag vs helm-do-ag
What are the differences between helm-ag and helm-do-ag from a user perspective? I see that helm-do-ag shows the results immediately and helm-ag not. But are there other differences and when is it better to use helm-ag instead of helm-do-ag and vice…

Julia
- 141
- 3
2
votes
3 answers
helm-ag , use word at point as input conditionally
I'd like to create two keybindings for helm-do-ag-project-root or helm-project-ag
where one would have (setq helm-ag-insert-at-point nil)
and one would have (setq helm-ag-insert-at-point 'symbol)
So that I can selectively use word at-point for…

eugene
- 481
- 1
- 5
- 11
2
votes
1 answer
Can `helm-ag` commands ignore git submodules?
When I am running helm-ag commands in a large project with multiple git submodules, the shared libaries are repeatedly searched. I do not want those be searched.
So how can I change the helm-ag commands' behavior to achieve that?
The helm-ag library…

cmal
- 775
- 3
- 14
1
vote
0 answers
helm-do-ag not working as expected to search with command-option
I want a function to search in filenames and retrieve those filenames containing the string I search for.
For some reason, this piece of code is not working for this purpose:
(defun helm-do-ag-projects ()
"Grep string in Project directory"…

Adelita
- 155
- 7
1
vote
1 answer
helm-do-ag in specific buffers / files
Let's say I want to create a function to search for a string in a set of files (orgmode files). Which of the helm-ag functions should I use and how is the syntax to add the buffers I want to include in the search? Thanks!

Adelita
- 155
- 7
1
vote
2 answers
How to use Helm to grep across a list of xz compressed files?
I'm trying to implement a simple helm extension for work which among other things provides an action to "grep across selected log file candidates". I've got this all working for actions like this:
(defun visit-logs-action (log-directory…

Palace Chan
- 113
- 4
1
vote
0 answers
Remember previous text searches history with positions after further text search
TL;DR: Is it possible to go back and forth between different helm-ag searches, and keep the last visited position in each of them?
Using Spacemacs’ spacemacs/helm-project-smart-do-search (SPC / pattern RET, which I think is using helm-ag under the…

Amir
- 151
- 6
1
vote
2 answers
Don't kill helm search result buffer, navigate with M-g n
I was previously using ag-project to search string in my project. I had it setup so that it opened the relevant buffer on Enter, while keeping the result window open. I could then edit in that window, then M-g n (with compile minor mode) later to…

Gauthier
- 499
- 2
- 13
0
votes
0 answers
Question on modifying Helm's search (helm-ag or similar tools)
I'd like to do the following when I search
- find symbol in a project
- add restrictions (options)
- to narrow to files that matches a pattern (--include)
- to narrow to files that doesn't match a pattern (--exclude)
- to change the base…

eugene
- 481
- 1
- 5
- 11
0
votes
0 answers
Increasing results candidates for helm-ag?
When I need to make bulk edits in my project, I use helm-ag to find my pattern recursively in all the files, run replace-regexp on the editing buffer, and then commit. One thing in particular I find very convenient about using this method is that…

daedsidog
- 157
- 6
0
votes
0 answers
helm-do-grep-ag vs helm-do-ag, differences?
I don't know exactly the differences between helm-do-grep-ag and helm-do-ag, couldn't find any description. Any help appreciated! Thanks.

Emmanuel Goldstein
- 934
- 6
- 18