|
|
|
|
|
by bdd
2249 days ago
|
|
You can further Emacsify or customize text controls to your heart with a `DefaultKeyBinding.dict` file. This what I've been using for ~8 years. Apple removed a few functions here and there but still plenty are available. Reference URL in the file comments. {
/* Additional Emacs bindings:
*
* "<key combination>" = "functionName:";
*
* Key Modifiers:
* ^: ctrl
* ~: option
* $: shift
* @: command
*
* Instance Methods of "NSStandardKeyBindingResponding":
* https://developer.apple.com/documentation/appkit/nsstandardkeybindingresponding
*
* Install under ~/Library/KeyBindings/DefaultKeyBinding.dict
*
* Download directly:
* curl --create-dirs -o ~/Library/KeyBindings/DefaultKeyBinding.dict THIS_URL
*/
"^l" = "centerSelectionInVisibleArea:";
"^/" = "undo:";
"^ " = "setMark:";
"~f" = "moveWordForward:";
"~b" = "moveWordBackward:";
"~<" = "moveToBeginningOfDocument:";
"~>" = "moveToEndOfDocument:";
"~v" = "pageUp:";
"~d" = "deleteWordForward:";
"^w" = "deleteWordBackward:";
"~/" = "complete:";
"~t" = "transposeWords:";
"^x" = {
"h" = "selectAll:";
"k" = "performClose:";
"^x" = "swapWithMark:";
"^m" = "selectToMark:";
};
}
|
|