Here’s a great little tip for mapping a hash (#) character to a better keyboard shortcut. At kc web design kent we do a lot of coding and the hash key is one that gets used a lot and on a Max OSX English keyboard it isn’t in the easiest of places and needs a slightly twisted finger combination to hit it on the 3 number key. With a simple change we can map the hash symbol to another key such as the § key which doesn’t get used at all on my keyboard.

Just create a new file here…

~/Library/KeyBindings/DefaultKeyBinding.dict

And then enter this in the file, save a restart…

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

Once you restart the § key will now enter a hash symbol which is much easier when coding!