Skip to content

Instantly share code, notes, and snippets.

@firexcy
Created July 20, 2023 11:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save firexcy/b5648c0740b679c5fe8fed8b7c767798 to your computer and use it in GitHub Desktop.
Save firexcy/b5648c0740b679c5fe8fed8b7c767798 to your computer and use it in GitHub Desktop.
Content of the Cocoa text system’s standard keybindings (as of macOS Ventura 13.4.1); converted from the original binary format to the json format with non-priting & PUA chars escaped
{
"\u0003": "insertNewline:",
"\b": "deleteBackward:",
"\t": "insertTab:",
"\n": "insertNewline:",
"\r": "insertNewline:",
"\u0019": "insertBacktab:",
"\u001b": "cancelOperation:",
"$\uf700": "moveUpAndModifySelection:",
"$\uf701": "moveDownAndModifySelection:",
"$\uf702": "moveLeftAndModifySelection:",
"$\uf703": "moveRightAndModifySelection:",
"$\uf729": "moveToBeginningOfDocumentAndModifySelection:",
"$\uf72b": "moveToEndOfDocumentAndModifySelection:",
"$\uf72c": "pageUpAndModifySelection:",
"$\uf72d": "pageDownAndModifySelection:",
"@": "noop:",
"@ ": "cycleToNextInputScript:",
"@$\uf700": "moveToBeginningOfDocumentAndModifySelection:",
"@$\uf701": "moveToEndOfDocumentAndModifySelection:",
"@$\uf702": "moveToLeftEndOfLineAndModifySelection:",
"@$\uf703": "moveToRightEndOfLineAndModifySelection:",
"@.": "cancelOperation:",
"@^ ": "togglePlatformInputSystem:",
"@^\uf701": "makeBaseWritingDirectionNatural:",
"@^\uf702": "makeBaseWritingDirectionRightToLeft:",
"@^\uf703": "makeBaseWritingDirectionLeftToRight:",
"@~ ": "cycleToNextInputKeyboardLayout:",
"@~^\uf701": "makeTextWritingDirectionNatural:",
"@~^\uf702": "makeTextWritingDirectionRightToLeft:",
"@~^\uf703": "makeTextWritingDirectionLeftToRight:",
"@\u007f": "deleteToBeginningOfLine:",
"@\uf700": "moveToBeginningOfDocument:",
"@\uf701": "moveToEndOfDocument:",
"@\uf702": "moveToLeftEndOfLine:",
"@\uf703": "moveToRightEndOfLine:",
"^": "noop:",
"^\u0003": "insertLineBreak:",
"^\t": "selectNextKeyView:",
"^\n": "insertLineBreak:",
"^\r": "insertLineBreak:",
"^\u0019": "selectPreviousKeyView:",
"^\"": "insertDoubleQuoteIgnoringSubstitution:",
"^$\uf702": "moveToLeftEndOfLineAndModifySelection:",
"^$\uf703": "moveToRightEndOfLineAndModifySelection:",
"^'": "insertSingleQuoteIgnoringSubstitution:",
"^/": "insertRightToLeftSlash:",
"^A": "moveToBeginningOfParagraphAndModifySelection:",
"^B": "moveBackwardAndModifySelection:",
"^E": "moveToEndOfParagraphAndModifySelection:",
"^F": "moveForwardAndModifySelection:",
"^N": "moveDownAndModifySelection:",
"^P": "moveUpAndModifySelection:",
"^V": "pageDownAndModifySelection:",
"^a": "moveToBeginningOfParagraph:",
"^b": "moveBackward:",
"^d": "deleteForward:",
"^e": "moveToEndOfParagraph:",
"^f": "moveForward:",
"^h": "deleteBackward:",
"^k": "deleteToEndOfParagraph:",
"^l": "centerSelectionInVisibleArea:",
"^n": "moveDown:",
"^o": [
"insertNewlineIgnoringFieldEditor:",
"moveBackward:"
],
"^p": "moveUp:",
"^t": "transpose:",
"^v": "pageDown:",
"^y": "yank:",
"^\u007f": "deleteBackwardByDecomposingPreviousCharacter:",
"^\uf700": "scrollPageUp:",
"^\uf701": "scrollPageDown:",
"^\uf702": "moveToLeftEndOfLine:",
"^\uf703": "moveToRightEndOfLine:",
"~\u0003": "insertNewlineIgnoringFieldEditor:",
"~\b": "deleteWordBackward:",
"~\t": "insertTabIgnoringFieldEditor:",
"~\n": "insertNewlineIgnoringFieldEditor:",
"~\r": "insertNewlineIgnoringFieldEditor:",
"~\u001b": "complete:",
"~$\uf700": "moveParagraphBackwardAndModifySelection:",
"~$\uf701": "moveParagraphForwardAndModifySelection:",
"~$\uf702": "moveWordLeftAndModifySelection:",
"~$\uf703": "moveWordRightAndModifySelection:",
"~^B": "moveWordBackwardAndModifySelection:",
"~^F": "moveWordForwardAndModifySelection:",
"~^b": "moveWordBackward:",
"~^f": "moveWordForward:",
"~^\u007f": "deleteWordBackward:",
"~\u007f": "deleteWordBackward:",
"~\uf700": [
"moveBackward:",
"moveToBeginningOfParagraph:"
],
"~\uf701": [
"moveForward:",
"moveToEndOfParagraph:"
],
"~\uf702": "moveWordLeft:",
"~\uf703": "moveWordRight:",
"~\uf704": "noop:",
"~\uf705": "noop:",
"~\uf706": "noop:",
"~\uf707": "noop:",
"~\uf708": "noop:",
"~\uf709": "noop:",
"~\uf70a": "noop:",
"~\uf70b": "noop:",
"~\uf70c": "noop:",
"~\uf70d": "noop:",
"~\uf70e": "noop:",
"~\uf70f": "noop:",
"~\uf710": "noop:",
"~\uf711": "noop:",
"~\uf712": "noop:",
"~\uf713": "noop:",
"~\uf714": "noop:",
"~\uf715": "noop:",
"~\uf716": "noop:",
"~\uf717": "noop:",
"~\uf718": "noop:",
"~\uf719": "noop:",
"~\uf71a": "noop:",
"~\uf71b": "noop:",
"~\uf71c": "noop:",
"~\uf71d": "noop:",
"~\uf71e": "noop:",
"~\uf71f": "noop:",
"~\uf720": "noop:",
"~\uf721": "noop:",
"~\uf722": "noop:",
"~\uf723": "noop:",
"~\uf724": "noop:",
"~\uf725": "noop:",
"~\uf726": "noop:",
"~\uf727": "noop:",
"~\uf728": "deleteWordForward:",
"~\uf729": "noop:",
"~\uf72a": "noop:",
"~\uf72b": "noop:",
"~\uf72c": "pageUp:",
"~\uf72d": "pageDown:",
"~\uf72e": "noop:",
"~\uf72f": "noop:",
"~\uf730": "noop:",
"~\uf731": "noop:",
"~\uf732": "noop:",
"~\uf733": "noop:",
"~\uf734": "noop:",
"~\uf735": "noop:",
"~\uf736": "noop:",
"~\uf737": "noop:",
"~\uf738": "noop:",
"~\uf739": "noop:",
"~\uf73a": "noop:",
"~\uf73b": "noop:",
"~\uf73c": "noop:",
"~\uf73d": "noop:",
"~\uf73e": "noop:",
"~\uf73f": "noop:",
"~\uf740": "noop:",
"~\uf741": "noop:",
"~\uf742": "noop:",
"~\uf743": "noop:",
"~\uf744": "noop:",
"~\uf745": "noop:",
"~\uf746": "noop:",
"~\uf747": "noop:",
"\u007f": "deleteBackward:",
"\uf700": "moveUp:",
"\uf701": "moveDown:",
"\uf702": "moveLeft:",
"\uf703": "moveRight:",
"\uf704": "noop:",
"\uf705": "noop:",
"\uf706": "noop:",
"\uf707": "noop:",
"\uf708": "complete:",
"\uf709": "noop:",
"\uf70a": "noop:",
"\uf70b": "noop:",
"\uf70c": "noop:",
"\uf70d": "noop:",
"\uf70e": "noop:",
"\uf70f": "noop:",
"\uf710": "noop:",
"\uf711": "noop:",
"\uf712": "noop:",
"\uf713": "noop:",
"\uf714": "noop:",
"\uf715": "noop:",
"\uf716": "noop:",
"\uf717": "noop:",
"\uf718": "noop:",
"\uf719": "noop:",
"\uf71a": "noop:",
"\uf71b": "noop:",
"\uf71c": "noop:",
"\uf71d": "noop:",
"\uf71e": "noop:",
"\uf71f": "noop:",
"\uf720": "noop:",
"\uf721": "noop:",
"\uf722": "noop:",
"\uf723": "noop:",
"\uf724": "noop:",
"\uf725": "noop:",
"\uf726": "noop:",
"\uf727": "noop:",
"\uf728": "deleteForward:",
"\uf729": "scrollToBeginningOfDocument:",
"\uf72a": "noop:",
"\uf72b": "scrollToEndOfDocument:",
"\uf72c": "scrollPageUp:",
"\uf72d": "scrollPageDown:",
"\uf72e": "noop:",
"\uf72f": "noop:",
"\uf730": "noop:",
"\uf731": "noop:",
"\uf732": "noop:",
"\uf733": "noop:",
"\uf734": "noop:",
"\uf735": "noop:",
"\uf736": "noop:",
"\uf737": "noop:",
"\uf738": "noop:",
"\uf739": "delete:",
"\uf73a": "noop:",
"\uf73b": "noop:",
"\uf73c": "noop:",
"\uf73d": "noop:",
"\uf73e": "noop:",
"\uf73f": "noop:",
"\uf740": "noop:",
"\uf741": "noop:",
"\uf742": "noop:",
"\uf743": "noop:",
"\uf744": "noop:",
"\uf745": "noop:",
"\uf746": "noop:",
"\uf747": "noop:"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment