Created
June 16, 2021 12:52
-
-
Save econeale/e25ed720c7aa1eeab9ffa78a5219b059 to your computer and use it in GitHub Desktop.
Remaps keys on Mac OS so that Home/End and selection works like Windows. Simply copy to your ~/Library/KeyBindings directory!
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