Search code examples
textmate

Textmate cmd + t search. How to include directories


I've always worked on small enough apps where I did not need to include a directory for Textmate cmd + T searching. Now I'm working on a huge app; swear to god it has 100 route files. Have no idea why.

So now if I to a search for routes.rb, I get 100 results. What I want is to include the directory config so I don't get so many results.

How can I include directors in Textmate cmd + T searches such as config/routes.rb?


Solution

  • Maybe you will like the GoToFile bundle. It's like Command-T but the search string is matched on the directory name and file name, not just on the file name part.