-
-
Save krackers/14bea1ed61de129d8754dc7971f5c030 to your computer and use it in GitHub Desktop.
OSX key bindings
This file contains hidden or 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
| { | |
| /* ~/Library/KeyBindings/DefaultKeyBinding.dict, see http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html */ | |
| /*---- Navigation ----*/ | |
| "^\UF700" = "moveToBeginningOfParagraph:"; /* C-up Move to beginning of paragraph */ | |
| "^\UF701" = "moveToEndOfParagraph:"; /* C-down Move to end of paragraph */ | |
| "^\UF702" = "moveWordLeft:"; /* C-left Move word left */ | |
| "^\UF703" = "moveWordRight:"; /* C-right Move word right */ | |
| "\UF729" = "moveToBeginningOfLine:"; /* home Beginning of line */ | |
| "\UF72B" = "moveToEndOfLine:"; /* end End of line */ | |
| "^\UF729" = "moveToBeginningOfDocument:"; /* C-home Beginning of document */ | |
| "^\UF72B" = "moveToEndOfDocument:"; /* C-end End of document */ | |
| "\UF72C" = "pageUp:"; /* page up Page up */ | |
| "\UF72D" = "pageDown:"; /* page dn Page down */ | |
| "~\UF72C" = "scrollPageUp:"; /* O-pg up Scroll page up */ | |
| "~\UF72D" = "scrollPageDown:"; /* O-pg dn Scroll page down */ | |
| "$^\UF702" = "moveWordLeftAndModifySelection:"; /* C-Shft-left Select word left */ | |
| "$^\UF703" = "moveWordRightAndModifySelection:"; /* C-Shft-right Select word right */ | |
| "$\UF729" = "moveToBeginningOfLineAndModifySelection"; /* Shft-home Select to beginning of line */ | |
| "$\UF72B" = "moveToEndOfLineAndModifySelection"; /* Shft-end Select to end of line */ | |
| "^$\UF700" = "moveToBeginningOfParagraphAndModifySelection:"; /* C-Shft-up Select to beginning of paragraph */ | |
| "^$\UF701" = "moveToEndOfParagraphAndModifySelection:"; /* C-Shft-down Select to end of paragraph */ | |
| "^$\UF729" = "moveToBeginningOfDocumentAndModifySelection:"; /* C-Shft-home Select to beginning of document */ | |
| "^$\UF72B" = "moveToEndOfDocumentAndModifySelection:"; /* C-Shft-end Select to end of document */ | |
| /*---- Editing ----*/ | |
| "^\U007F" = "deleteWordBackward:"; /* C-Del Delete word backward */ | |
| "^\UF728" = "deleteWordForward:"; /* C-FwdDel Delete word forward */ | |
| "$\U000A" = "insertLineBreak:"; /* Shft-Ret Line break */ | |
| "^a" = "selectAll:"; /* C-a Select all */ | |
| "^x" = "cut:"; /* C-x Cut */ | |
| "^c" = "copy:"; /* C-c Copy */ | |
| "^v" = "paste:"; /* C-v Paste */ | |
| "^z" = "undo:"; /* C-z Undo */ | |
| "^y" = "redo:"; /* C-y Redo */ | |
| /*---- Operations ----*/ | |
| "^s" = "save:"; /* C-s Save */ | |
| "^S" = "saveAs:"; /* C-Shft-s Save as */ | |
| "\UF704" = "showContextHelp:"; /* F1 Show help */ | |
| "^\UF707" = "performClose:"; /* C-F4 Close document */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment