-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Suggestion: bind helm-find or ag/ack/pt equivalent #3108
Comments
Using helm ag to do this shouldn't be hard. I can throw something together |
We have to find another key binding than |
@justbur I opened a related issue in helm-ag: emacsorphanage/helm-ag#172 @syl20bnr |
I was avoiding |
On the key bindings |
I don't really know what works better on windows, so I thought we could give the user the option to use what he/she prefers. I'm also not sure about all the differences between find and ag, I was hoping someone here would know more. If you say it is easy to set up |
The advantage of ag for windows is the ability to use pt actually. I think (but I'm not sure) that regex would be easier with helm-ag if you want that. |
In response to my question about a
Which means we either implement it in Spacemacs, or just use |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Sometimes I want to search for a file in directory, and I find that SPC p f (projectile) and SPC f L (locate) just aren't good enough. This usually happens when I want to search a directory that isn't part of a project, or to search a specific sub-directory in a large project.
I found two ways to accomplish this specific task: 1)
helm-find
. 2) invokehelm-ag
and pass-g
when prompted for a pattern argument.I propose we (possibly me) write a function that uses
ag
,ack
,pt
orfind
(according todotspacemacs-search-tools
or a new variable) to search for files in a directory, similar to what is done inspacemacs/helm-files-smart-do-search
(SPC s f). The new function will be bound to SPC f F instead ofhelm-find-files
, since it is a good mnemonic and we already havespacemacs/helm-find-files
on SPC f f.The text was updated successfully, but these errors were encountered: