Last active
May 25, 2016 15:19
-
-
Save craig-davis/fa483db03a87e3c27a4f6635f70a701f to your computer and use it in GitHub Desktop.
Ack config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Always color, even if piping to a another program | |
--color | |
# Show two lines around match | |
-C2 | |
# Use "less −r" as my pager | |
# --pager | |
# less -r | |
--ignore-dir=.idea/ | |
--ignore-dir=.sass-cache | |
--ignore-file=match:init.pkg.js | |
--ignore-file=match:.gitignore | |
--ignore-file=match:jquery.js | |
--ignore-file=match:jquery-ui.js | |
--ignore-file=match:.rbenv-version | |
--ignore-file=match:.rspec | |
--ignore-file=match:.rvmrc | |
#make sure ack knows how to search common filetypes used in node.js projects | |
--ignore-dir=node_modules | |
--type-set=coffee=.coffee | |
--type-set=jade=.jade | |
--type-set=feature=.feature | |
--type-set=json=.json | |
#make sure ack knows how to search in common template files | |
--type-add=html=.html.erb,.html.haml,.handlebars,.smarty,.tpl,.hbs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment