Last active
October 12, 2022 13:37
-
-
Save thomashope/ecb0a348bb9f8fde445893eadfa8ab72 to your computer and use it in GitHub Desktop.
Changes the behaviour of the Home and End keys on Mac to be the same as Windows instead of being UTTERLY USELESS
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
/* | |
Place this file in ~/Library/KeyBindings/DefaultKeyBinding.dict | |
To access the folder from Finder press COMMAND+SHIFT+G, then type ~/Library and press Enter. | |
From there locate the KeyBindings folder or create it if it doesn't exist. | |
*/ | |
{ | |
"\UF729" = "moveToBeginningOfLine:"; /* Home */ | |
"\UF72B" = "moveToEndOfLine:"; /* End */ | |
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Home + Shift */ | |
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* End + Shift */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment