I have Ack set up in Vim but at the moment it does not search in .handlebars files.
Does anyone know how I can add handlebars to the file list?
Adding the following line to my ~/.ackrc tells ack to search in the files I needed:
--type-add=html=.html.erb,.html.haml,.handlebars
We one command:
cat >> ~/.ackrc
--type-add
html=.html.erb,.html.haml,.handlebars,.hbs
also you should add a type
cat >> ~/.ackrc
--type-set
mustache=.html.erb,.html.haml,.handlebars,.hbs
and use like this
ack --type mustache 'search'