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

Archive for the 'OS X' Category

Terminal Plug-in Updates

10.5.2 was just released, apparently bringing with it some changes to Terminal (anyone know what they are?). This caused Terminal’s version number to change, and thus my plug-ins to fail, so I’ve updated the downloads to account for it. Note: if you already edited the plug-ins by hand to work in 10.5.2 you do not need to download them again, as that is the only change that has been made.

Downloads:

BlurminalOriginal Post

Terminal Tab SwitchingOriginal Post

TerminalColoursOriginal Post

Tab Switching in Terminal

If you’re like me then you no longer use multiple windows in Terminal.app at all, relying on tabs in a single window instead. Unfortunately this makes the hotkeys for switching between windows somewhat useless, so I did this SIMBL plug-in a while ago to change ⌘1-9 to switch between the tabs in the current window instead. I completely forgot to post it, but you can now download it here. See this post for how to install.

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.

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

Glyph input manager

Well I finally got around to doing some fixes to my input manager for glyphs today and I thought this would be a good enough reason to finally start a blog, so here it is.

This input manager makes it easy to quickly insert glyphs for any keystroke.

Installation

  • You can get the input manager here.
  • Extract the zip and move the GlyphInputInputManager folder to ~/Library/InputManagers
  • Move the DefaultKeyBinding.dict inside the folder to ~/Library/KeyBindings (Note: if you already have a DefaultKeyBinding.dict then you will need to merge the contents of the two instead).
  • You will need to restart any apps before they will load the input manager
  • Once installed simply press the activation key (§ by default) and then press the keystroke you want to enter into the current textview

This update improves glyph selection and disables global hotkeys (such as QuickSilver and ⌘⇥).

Note: be sure to follow these instructions if you are on Leopard.

Fork me on GitHub