cosmicexplorer / helm-rg

ripgrep is nice
GNU General Public License v3.0
101 stars 21 forks source link

Search within project default by default #32

Open Flowdalic opened 2 years ago

Flowdalic commented 2 years ago

It appears that helm-rg currently searches within the "current" directory, e.g. the directory of the currently visited buffer file. As user, I find this somehow unexpected, as I typically want to search the whole project. Please consider changing helm-rg so that the default recursive search directory is the root directory of the current project.

AtomicNess123 commented 2 years ago

I think this project is dead.

DiazD commented 2 years ago

@Flowdalic you can set helm-rg-default-directory to git-root

berdanakyurek commented 1 year ago

There is helm-projectile-rg which does what you want. I use C-c r g for helm-rg and C-c g r for helm-projectile-rg. Therefore I can use them both when needed.