Commit graph

4 commits

Author SHA1 Message Date
Sean Doyle
1fcbe111c6
Exclude node_modules and bower_components
This is equivalent to excluding `vendor/assets` in a Rails project.

JS Dependency trees (especially npm packages) can be extremely noisy.
2015-05-08 12:00:07 -04:00
Greg Lazarev
266984354b Ignore vendor/ during ag searches 2015-04-09 14:46:10 -07:00
Derek Prior
cf624303b5
Let ctrl-p find files with a leading dot
I am constantly forgetting that I can't use `ctrl-p` to open
`.travis.yml` or any other file with a leading `.`. This change comes
about after some discussion in general on how to handle this. Passing
`--hidden` to the `ag` command allows it to find files with a leading
`.`.

Unfortunately, this also includes the content of your `.git`
directory. To overcome this, we add `/.git/` to `agignore`.
2015-03-13 14:17:51 -04:00
Gabe Berke-Williams
1f4e6d1370 Use ag instead of ack
https://github.com/ggreer/the_silver_searcher

* ag is faster than ack
* ag searches all files by default (but still ignores gitignored files). This
  removes the need for ack's `--type-add=` options.
* The command is 33% shorter than ack!
2013-03-01 23:28:36 -05:00