Hot answers tagged

9 votes
Accepted

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

Found it. The setting is (setq helm-ag-insert-at-point 'symbol) Reference: https://github.com/syl20bnr/spacemacs/issues/1848#issuecomment-108973505
user avatar
  • 245
3 votes
Accepted

Helm-ag result buffer disappears

To anyone who might have the same issue, I found a solution: M-x rename-buffer. After the buffer has been given a new name it becomes persistent
user avatar
2 votes
Accepted

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

You can customize settings like this: (setq grep-command "ag --vimgrep " grep-use-null-device nil) I've tested it with emacs -Q --eval "(setq grep-command \"ag --vimgrep \" grep-use-null-...
user avatar
  • 833
1 vote

TRAMP and `projectile-ag`, `projectile-ripgrep` cause kernel panic and complete crash of Mac OS

I can’t help you with your crash, but when editing files via TRAMP, you must run tools like ag and rg via TRAMP as well. They must be installed on the remote machine to work. Since they’re not part of ...
user avatar
  • 12.2k
1 vote
Accepted

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

This looks like a standard case for exec-path-from-shell. Essentially, the emacs environment is dependent on where it was started from (e.g. GUI app vs terminal vs daemon, etc.) This package loads ...
user avatar
1 vote
Accepted

How do I make `helm` save search results in a grep buffer?

I don't see a feature like that in helm-grep. But you should achieve the desired result with a function like this one (defun my/jump-next-grep-result () (interactive) (other-window 1) (next-...
user avatar
  • 636
1 vote

counsel-ag shows no output

I think it has something to do with ivy-prescient. Although, there is ivy-prescient-excluded-commands which contains counsel-ag to prevent the regex generation from being disturbed I have to add (...
user avatar
1 vote

Helm-ag result buffer disappears

For a more persistent solution, you can customize the variable helm-boring-buffer-regexp-list and remove the regexes you want so the Helm result buffers stays in your buffer list
user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible