Archive for the ‘directories’ Category

TextMate tip

Tuesday, January 16th, 2007

I normally launch TextMate through a terminal window with “mate *” in the project directory. That brings up TextMate with the folder list showing all folders and files in the project directory. It works nicely but often there are directories in your project that you don’t need to edit but which are cluttering the view.

So just the other day I learnt that instead of “mate *” you can type “mate dir1 dir2 dir5″ and TextMate will load with just those folders shown. e.g. in a Ruby on Rails app you generally only need to edit the app, config and public folders, ignoring the log, vendor, test etc. folders until you need them later. So you can type “mate app public” for a Rails project.

Very uncluttered and useful. Good one TextMate!