Jack Brewer

Mapping A Hash Keyboard Button In OSX

When I switched to using a Mac, one of the very few problems I had was the lack of a hash key on my (UK) keyboard. For the average user, this probably isn't too much of an issue but for someone who codes, I can't live without it! Alt + 3 is slightly too awkward a shape to pull off frequently with one hand.

To remedy my problem, i needed to find a donor key on my keyboard. The § key looked like the perfect candidate (I even had to google it to find out what it was!).

The section sign (§, Unicode U+00A7, HTML entity §), also called the "double S", "sectional symbol" or signum sectionis, is a typographical character used mainly to refer to a particular section of a document, such as a legal code.

Well now you know too.

Now for the magic. If you don't already have it, you will need to create a DefaultKeyBinding.dict file here:


Once you have this file, open it and add:

  /* Map # to § key*/
  "§" = ("insertText:", "#");

Save that, restart your Mac and you will be the proud owner of a new hash key!

OSX Cursors PSD

One of the hardest things about delivering flat Photoshop mockups to clients is the lack of interaction that you would get with a live demo. Showing off your well considered hover state, tooltips or other interactive elements can be quite confusing.

A good way to help this confusion is by including cursors in you designs to help illustrate the intended action.

Cursor Interactions Cursors


Disabling Caps Lock on OSX

The majority of the code I write is CSS or HTML and I have spent a long time setting up hundreds of TextMate Sublime Text 2 tab triggers[1] to speed up the process. The thing that slows me down again is my clumsy, non-touch typing finger frequently mashing the caps lock key instead of the tab key.

Turns out it is easy to disable caps lock in OSX. Go to System Preferences > Keyboard > Modifier Keys and choose 'No Action' in the Caps Lock dropdown.

In the few months that I've had it disabled, I can count the number of times I've needed caps lock on one finger. Compared to the frequency of my accidental activations beforehand, I'm definitely happy with the choice!

  1. TextMate / Sublime Bundles: HTML, CSS.