Posts RSS Comments RSS 32 Posts and 1,017 Comments till now

Archive for the 'Projects' Category

TMLabels Update

Allan was kind enough to share the code he’ll be using to draw the Finder labels for the file list in TextMate 2, so I’ve been able to update the TMLabels plug-in to closer match the appearance of labels in the Finder.

TMLabels

Get it here.

Blurminal

Someone wanted a mod for Leopard’s Terminal.app which would make the image showing through behind terminal windows blurred – here it is. See this post for installation instructions.

Blurminal

You can make terminal windows transparent by adjusting the opacity of the window background colour in Preferences – somewhere around 80% should work well. You can adjust the blurring level with the command:

defaults write com.apple.Terminal 'Blurminal Radius' -float 1.0

1.0 is the default – higher means more blur (you’ll need to restart Terminal.app for the changes to take effect).

I’m actually finding it very nice – it lets me use transparency without it getting in the way, but it’s there when you need it (say, to copy something from a browser window underneath).

Thanks to Alex Ross for the request, and the great name.

QuickLook and TextMate

QuickLook in TextMate

This is a TextMate plug-in which allows you to QuickLook items in your project, either by selecting the item(s) you want to preview and using QuickLook from the context menu, or pressing ⌥␣ when the project drawer has focus.

Download QuickLook in TextMate here.

TextMate in QuickLook

This is a TextMate plug-in and a QuickLook generator which renders QuickLook previews (for certain filetypes) using the TextMate syntax highlighter. Currently it’s configured to highlight Perl, PHP, Ruby, Shell, C headers and Obj-C(++). Note: this effectively sets up TextMate as a server for the syntax highlighting, so it won’t work unless TM is running (QuickLook will just fall back to the standard preview if it’s not).

Download TextMate in QuickLook here.

The QuickLook generator will be automatically installed by the plug-in the first time it loads. Hopefully QuickLook will notice and start using it right away, but if it doesn’t you can try running qlmanage -m

Needless to say, both these plug-ins are Leopard only.

Glyph Input Manager Update

I was really missing the input manager while typing out the keystrokes in the tip posts, so I’ve fixed it to work in TextMate too – get the updated version.

See the original post for installation instructions.

ReMate Update

ReMate is a TextMate plugin which can be used to disable the automatic project tree refresh when the application regains focus (for using SSH-FS etc.).

This version works differently:

  • There is now a Configure ReMate option found on the Window menu – this lists volume names with a checkbox next to each for enabling/disabling automatic refreshing for projects in that volume. A volume will be added to the list the first time a project is created from files on it (i.e. /Volumes/Volume Name); automatic refreshing is disabled for new volumes by default.

  • You can refresh an individual project manually by clicking the gear icon at the bottom of the project drawer and selecting “Refresh Project Files”

  • This version is a Universal build

Download here, extract it and double-click to install.

Thanks to Tobias Muellerleile for testing.

Customising Colours in Leopard Terminal

I upgraded to Leopard a couple of days ago, and was reminded how hard it is to read the default blue colour in Terminal on a black background. Mike Solomon’s TerminalColors was written for Tiger’s Terminal and so doesn’t work with Leopard, so here is my SIMBL hack for Leopard’s Terminal – it allows customisation of ANSI colours on a per-profile basis

  1. Make sure you have SIMBL installed – follow Allan’s instructions for Input Manager support on Leopard

  2. Download

  3. Extract to ~/Library/Application Support/SIMBL/Plugins

  4. Restart Terminal and click the More… button in the Text tab of Settings

ToolTips in the TextMate Project Drawer

Here is a really tiny plugin which just makes the project drawer display tooltips for long items:

The tooltip only displays if the item is truncated, so they don’t get in the way unnecessarily

Download

Update: In Leopard, truncated items in lists are automatically given a nice tooltip with the full content – if you’ve upgraded and want to remove this plug-in so you don’t get 2 tooltips then you can just delete ~/Library/Application Support/TextMate/PlugIns/TooolTips.tmplugin and restart TextMate

Bundle Editor Search Plug-in

This is one for bundle developers – it allows you to use the ⌃⌘T “Select Bundle Item…” mechanism inside of the bundle editor.

Selecting an item will expand the item view and select the corresponding item, and focus the relevant editor field. It also extends the search to show languages too.

Download

Finder Labels in the TextMate Project View

Someone on the TextMate mailing list asked if there was a way to have the project outline show Finder colour labels, so here’s a plug-in to do just that.

Get it here

Update:

  • Now uses a 70% opactity for the colours to make the labels less overbearing, and draws with a gradient
  • Fixed a crash bug
  • Added label setting

Update:

You can now set the opacity level for the label colours manually, using this command:

defaults write com.macromates.textmate "TMLabels Opacity" 0.2

where 0.2 is the opacity you want (0 - 1: 0 is fully transparent, 1 is solid).

SVN Plug-in for TextMate

Here’s a plug-in for TextMate which indicates the Subversion status of files in your project drawer.

Download it here. Simply extract and double click the SVNMate.tmplugin to install it into TextMate (you’ll need to restart TextMate for it to load).

Update: There is a problem with this plug-in right now and I forgot to remove the download link, apologies to anyone who’s been trying to get it work. In short, the problem is that it requires the Subversion libraries, but they can’t always be found. I’m trying to get them linked statically with the plug-in instead (so that the libraries are included). I’ll post an update or an alternate fix soon.

Update: After much blood, sweat and tears I’ve finally got a statically linked Universal build. I hope :) The download link above is back up, and is the new version. If you experience any problems with the new build (or if you don’t!), drop me a comment below.

« Prev - Next »

Fork me on GitHub