Created
November 30, 2021 23:16
-
-
Save vad710/475f12fcbad0e944b3bfc98929a2f0c7 to your computer and use it in GitHub Desktop.
Keybindings to make Mac home/end work more like on PC. Put into the `~/Library/KeyBindings` directory then reboot.
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
{ | |
"\UF729" = moveToBeginningOfParagraph:; // home | |
"\UF72B" = moveToEndOfParagraph:; // end | |
"$\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 | |
"^\UF702" = (moveWordLeft:); // ctrl-left | |
"^$\UF702" = (moveWordLeftAndModifySelection:); // ctrl-shift-left | |
"^\UF703" = (moveWordRight:); // ctrl-right | |
"^$\UF703" = (moveWordRightAndModifySelection:); // ctrl-shift-right | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment