Skip to content

Instantly share code, notes, and snippets.

@JamesBliss
Created March 19, 2020 09:55
Show Gist options
  • Save JamesBliss/fa1bbe2e89d72d25ab6da4685a9a80b1 to your computer and use it in GitHub Desktop.
Save JamesBliss/fa1bbe2e89d72d25ab6da4685a9a80b1 to your computer and use it in GitHub Desktop.
Remapping map # to § key

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

~/Library/KeyBindings/DefaultKeyBinding.dict

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment