Last active
August 1, 2025 15:51
-
-
Save selfagency/8e5915abfd863f490fad454ebbf8cf59 to your computer and use it in GitHub Desktop.
make home and end keys work right on mac
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
| // insert into ~/Library/KeyBindings/DefaultKeyBinding.dict | |
| { | |
| "\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 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment