atom-fuzzy-grep
atom-fuzzy-grep copied to clipboard
Allow to search files
I would be nice to add a command that allows searching files. Internally git ls-files | ag foo
or even ag -g FOO
could be used to populate a list of files. I guess this would be a fast replacement for the integrated atom fuzzy finder, which is ... kind of slowish for large code bases.
Was looking for the same thing. My quick-n-dirty workaround was to put a small bash script ("git-fuzzy-find") that utilizes fzf, like so:
#!/bin/bash
FILTERS=${@:1}
git ls-files | fzf -f "$FILTERS" | head -n 50 | awk '{print $1":0:\t"$1}'
make sure the bash script is findable through PATH.
…and change this package's settings to:
- [x] Detect Git Project and use git grep
Git grep command string
git-fuzzy-find