Within Terminal you can launch a file with the following command:
mate file.txt
You can open the current directory as a project with:
mate *
Or you can open up particular directories with
mate directory1 directory2 directory3
…which is incredibly useful. Wish I knew this five months ago.