-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility of having git-grep in git repos and fallback to ag #109
Comments
Perhaps there could be a |
I haven't fully thought this out yet but I was kind of thinking of having So Example 1
would use Example 2
would always use *It'd probably be a good idea to drop What I like about this is it would have a sane default "out of the box" that is the fastset and people wouldn't have to worry about what it's doing under the hood, but then if they really care they can force the searcher of your choice. Thoughts? Any flaws with this thinking? |
I agree with your two variables, making it possible to force a searcher if necessary (like wanting But just to be clear, this is how I understand the way it will detect the searcher to use (most relevant first):
Was that what you meant as well? |
That all sounds good/correct to me.
Yes, my thinking is if a person is going to set a variable with |
I think I'll look into this tomorrow. 😊 |
Thanks again! |
I was thinking that people would probably prefer to use
git grep
in a git repo because it's usually faster, and now they can with commit a90ae44.However, it's not always useful to have
(setq dumb-jump-searcher "git-grep")
if you sometimes search non-git projects. In this case, I was wondering if it would be helpful with an easy way of defining a fallback searcher? In my ideal scenario, it will pickgit grep
in a git repo and otherwise usedumb-jump-searcher
. Thoughts?The text was updated successfully, but these errors were encountered: