Last Updated: February 25, 2016
·
2.38K
· iambaird

Mapping a Hash key in Mac OS X

Alt+3 isn't practical in OS X, especially in terminal if you use Alt as a modifier key. This code will bind hash to the § key next to '1' on a standard Apple keyboard.

Instructions

Create a file in ~/Library/KeyBindings/DefaultKeyBinding.dict with the following contents & restart.

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

Key:

Picture