Questions tagged [helm-grep]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 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
67 views

How to use regular expressions with helm-projectile-grep?

I would like to find all strings in files matching the pattern foo_*_bar. I know that one can use \s to match empty characters. What's the pattern for zero or more characters? Could not find it by ...
honey_badger's user avatar
0 votes
0 answers
44 views

helm-grep-do-git-grep: possible to show results in minibuffer?

When I use helm-grep-do-git-grep results are shown in the current window or a different one, but it takes the whole window. It there an option to show results in the minibuffer, below the current ...
Adelita's user avatar
  • 155
1 vote
2 answers
64 views

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 ...
Palace Chan's user avatar
0 votes
1 answer
192 views

How to exclude certain files from helm-do-grep-1

Suppose, we have the following files: ~/1.js, ~/1.min.js, ~/bad-dir/2.js. All of them have the following contents: function hello () {} I am using helm-do-grep-1 to grep through these files and want ...
user4035's user avatar
  • 1,059
0 votes
1 answer
175 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
2 votes
3 answers
229 views

How can I search between the lines with multiline search?

I use C-u 4 M-x helm-swoop for interactive search also show several surrounding lines (this is analogous to grep -C 4). When I find the word I narrow my search interactively, for example, C-u 4 M-x ...
Pfedj's user avatar
  • 318
0 votes
0 answers
118 views

Search in recent files

I use helm-recentf to receive the list of recent files. I would like to have an opportunity to search over the list of recently viewed files. Can I do it with grep or helm-swoop? Is there any other ...
Pfedj's user avatar
  • 318
2 votes
0 answers
91 views

helm-grep-do-git-grep - search only in current dir

Windows 10, Emacs 25.1, Helm If I run command M-x helm-grep-do-git-grep it's search text in current folder and all subfolders. But I need to search text only in current folder. How I can do this?
a_subscriber's user avatar
  • 3,906
0 votes
1 answer
174 views

helm-grep-do-git-grep : show only exact matching

Windows 10, Emacs 25, Helm I want to find exact text "data autoupdate" in all files in some folder in my Android Git project. So I use command M-x helm-grep-do-git-grep And input text "data ...
a_subscriber's user avatar
  • 3,906
1 vote
1 answer
111 views

How do I configure helm-git-grep candidates limit?

I have this in my .emacs file but it still shows that the limit is 300 Candidates. (require 'helm-git-grep) ;; Not necessary if installed by package.el (global-set-key (kbd "C-c g") 'helm-git-grep) ...
Wawrzyniec Pruski's user avatar
1 vote
1 answer
519 views

Error running timer: (error "Candidates function `helm-git-grep-process' should run a process")

I'm getting this error when trying to run helm-git-grep. As soon as I start typing the first character of the pattern, I get this: Error running timer: (error "Candidates function `helm-git-grep-...
Wawrzyniec Pruski's user avatar
8 votes
1 answer
572 views

how to helm-projectile-grep for exact string?

How can I direct helm-projectile-ag and helm-projectile-grep to search for an exact string? If I enclose a string in quotes, I get no results. If I don't, I get fuzzy matching.
incandescentman's user avatar
2 votes
0 answers
305 views

How can I replace grep with sift or ag in helm-grep? (Not helm-do-ag)

I've currently got a custom function that I use to grep through files in helm. ;; Search for the thing that the cursor is on or that's already hilighted. If there's nothing, ;; switch back to ...
RealityMonster's user avatar