Martin Ström
my-domain.se

TextMate command to copy an txmt:// url to the current file

I’ve been using this TextMate command for many years to copy an URL to the current file and then paste into a bug tracker/todo list or something.


Open Selected Folder or File in TextMate from Finder

QuickSilver

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:

Automator

  1. Run Automator and select “Service” from the template chooser.
  2. Select “Files and Folders” from “Finder”
  3. Find the “Open Finder Items” action from the left pane and select TextMate as the application.
  4. Save the service in ~/Library/Services. I called mine “Open With TextMate”

Keyboard Preferences

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, ⌃⌥⌘M).


MissingDrawer TextMate Plugin for Mac OS X 10.6 Snow Leopard

I really like the MissingDrawer plugin for TextMate but it stopped working for me after upgrading to Snow Leopard. I recompiled it for 10.6 and now it works again.

Get the updated versions here (one with blue background and one with the white default).

Update:

Seems like the plugin doesn’t work very good after all. It makes TextMate stop responding to modifier keys (command, shift etc) so my recompiled version isn’t very helpful right now. I’ll investigate and try to fix it.

TextMate Prototype & Scriptaculous Bundle

This the first version of a TextMate bundle for Prototype and script.aculo.us JavaScript libraries. The language grammar is based on from Justin Palmers Prototype Bundle but the other commands/snippets are all new. Please let me know if you have any comments and/or improvements.

Download here

Update 2006-07-16

The bundle is now added to TextMates official svn repository.

CSS is in progress