
One of my favorite things about TextMate and one the things that keeps bringing be back from Vim is how well it integrates with OSX. One example of this is the “Edit in TextMate” InputManager. To get it to work go to Bundles –> TextMate –> Install “Edit in TextMate”… If you’re on Tiger you’re done just restart the apps you want to use this with (Cocoa apps only, so Mail.app, Safari and so on.) However for Leopard users Apple has made this a little bit more difficult but still doable. Here’s how:
# Remove old version
rm ~/Library/InputManagers/Edit\ in\ TextMate
# Create InputManagers folder
sudo mkdir /Library/InputManagers
# Copy the input manager to /Library
sudo cp -pR /Applications/TextMate.app/Contents/Resources/Edit\ in\ TextMate /Library/InputManagers
# Ensure everything is owned by root
sudo chown -R root:admin /Library/InputManagers[ Via: TextMate Blog]
And you’re done. Restart the apps you want to use this, go to a text field and press Control-Command-E and it will open up TextMate. Edit the text, save it and you’ll see the original text magically change.
Here’s a video showing it off:
Click on the picture and pay close attention the commands I’m using that are shown in the bottom right of the video.

Morgan Daly
Thanks January 16th, 2008 at 5:50 am
Travis Jeffery
Morgan Daly
That desktop reference is a great idea and I might do one myself if I ever get the time. Be a good advertising tool for anyone. Like giving away calendars with your logo on them. January 18th, 2008 at 1:25 am
Trackback
[...] group the vim_mac Google Group got MacVim’s own version of Edit in TextMate (see this post) working. To [...]
January 24th, 2008 at 8:06 pm