Created
July 18, 2019 16:18
-
-
Save cdeutsch/c4956470468cb65aefa7a84b0d0c214d to your computer and use it in GitHub Desktop.
~/Library/KeyBindings/DefaultKeyBinding.dict
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
{ | |
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home | |
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end | |
"^\UF729" = moveToBeginningOfDocument:; // ctrl-home | |
"^\UF72B" = moveToEndOfDocument:; // ctrl-end | |
"^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home | |
"^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end | |
/* home */ | |
"\UF729" = "moveToBeginningOfLine:"; | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; | |
/* end */ | |
"\UF72B" = "moveToEndOfLine:"; | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; | |
/* page up/down */ | |
"\UF72C" = "pageUp:"; | |
"\UF72D" = "pageDown:"; | |
"@d" = selectWord:; // cmd-D | |
"~w" = selectWord:; // option-w | |
"@\177" = (selectParagraph:, delete:, moveToBeginningOfParagraph:); // command-delete | |
/* use ctrl+arrow for home and end */ | |
"^\UF702" = "moveToBeginningOfLine:"; | |
"$^\UF702" = "moveToBeginningOfLineAndModifySelection:"; | |
"^\UF703" = "moveToEndOfLine:"; | |
"$^\UF703" = "moveToEndOfLineAndModifySelection:"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment