Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Create custom keybindings System
If you'd like to easily type some non-standard glyphs, adding a custom keybinding might prove useful.

The keybindings file is located in ~/Library/KeyBindings/ (You will probably have to make this directory and then add a file named "DefaultKeyBinding.dict".]).

The syntax for these keybindings are:
"[keycombination]" = ("insertText:", "\[unicodenumber or actual character]");
Example:
"~*" = ("insertText:", "\U0215"); /* the times-symbol "×" */
In this "Keycombination" field:
@ = cmd key
$ = shift key
~ = option key
^ = ctrl key
# = keys on number pad

More on the keybinding syntax at http://xahlee.info/kbd/osx_keybinding_key_syntax.html.

[kirkmc adds: We've also got a 2006 hint that goes into some detail about similar keybindings.]
    •    
  • Currently 4.17 / 5
  You rated: 1 / 5 (6 votes cast)
 
[4,845 views]  

Create custom keybindings | 1 comments | Create New Account
Click here to return to the 'Create custom keybindings' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create custom keybindings
Authored by: pbeyersdorf on Sep 06, '12 11:03:33AM
There is also a nice GUI for doing this called ukelele. I have mapped all of the keys with the option key held down to be the corresponding greek letters or mathematical symbols, which makes entering text like ∇φ=k·s a snap.

[ Reply to This | # ]