Created
March 15, 2012 20:55
-
-
Save kevingriffin/2046869 to your computer and use it in GitHub Desktop.
A file to override keybindings in OS X. Put it in ~/Library/Keybindings/DefaultKeybinding.dict (create the directory if needed) You can use any of the selectors here: https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Cl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* Modifier keys: start with C-m */ | |
"^m" = { | |
"^ " = ("insertText:", "\U2423"); /* C-space space */ | |
"^e" = ("insertText:", "\U21A9"); /* C-e return */ | |
"e" = ("insertText:", "\U2305"); /* e enter */ | |
"^t" = ("insertText:", "\U21E5"); /* C-t tab */ | |
"t" = ("insertText:", "\U21E4"); /* t backtab */ | |
"^d" = ("insertText:", "\U232B"); /* C-d delete */ | |
"d" = ("insertText:", "\U2326"); /* d forward delete */ | |
"^a" = ("insertText:", "\U2318"); /* C-a command (apple) */ | |
"^o" = ("insertText:", "\U2325"); /* C-o option */ | |
"^c" = ("insertText:", "\U2303"); /* C-c control */ | |
"^s" = ("insertText:", "\U21E7"); /* C-s shift */ | |
"s" = ("insertText:", "\U21EA"); /* s caps lock */ | |
"^b" = ("insertText:", "\U2190"); /* C-b solid left */ | |
"^f" = ("insertText:", "\U2192"); /* C-f solid right */ | |
"^p" = ("insertText:", "\U2191"); /* C-p solid up */ | |
"^n" = ("insertText:", "\U2193"); /* C-n solid down */ | |
"b" = ("insertText:", "\U21E0"); /* f dotted left */ | |
"f" = ("insertText:", "\U21E2"); /* b dotted right */ | |
"p" = ("insertText:", "\U21E1"); /* p dotted up */ | |
"n" = ("insertText:", "\U21E3"); /* n dotted down */ | |
"^h" = ("insertText:", "\U2196"); /* C-h home */ | |
"h" = ("insertText:", "\U2198"); /* h end */ | |
"^u" = ("insertText:", "\U21DE"); /* C-u page up */ | |
"u" = ("insertText:", "\U21DF"); /* u page down */ | |
"^x" = ("insertText:", "\U238B"); /* C-x escape */ | |
"x" = ("insertText:", "\U23CF"); /* x eject */ | |
}; | |
"^g" = "changeCaseOfLetter:"; | |
"^~g" = "changeCaseOfWord:"; | |
"^u" = "uppercaseWord:"; | |
"^U" = "lowercaseWord:"; | |
"^~u" = "capitalizeWord:"; | |
"^w" = "selectWord:"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment