Open Selected Folder or File in TextMate from Finder
Before upgrading to Snow Leopard I had a QuickSilver trigger (
⌃⌥⌘M) to open the currently selected file(s) or folder(s) in TextMate. It was setup as a QuickSilver trigger using the Proxy Object “Finder Selection”. Too bad it doesn’t work for me in the later QuickSilver versions and/or Snow Leopard.
I missed this trigger so I made a 10.6 Service to accomplish the same task:
- Run Automator and select “Service” from the template chooser.
- Select “Files and Folders” from “Finder”
- Find the “Open Finder Items” action from the left pane and select TextMate as the application.
- Save the service in
~/Library/Services. I called mine “Open With TextMate”
To run the service from the keyboard, run “System Preferences” and select “Keyboard”, then select “Services” in the left menu and locate the “Open With TextMate” service on the right side. Add a keyboard shortcut (I choose the same as I’m used to,