Created
January 29, 2024 08:38
-
-
Save vdroznik/192edd9f483203b56e33d6a526669db0 to your computer and use it in GitHub Desktop.
Remap external mac keyboard home/end keys
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
// ~/Library/KeyBindings/DefaultKeyBindings.dict (create if not exists then restart macos) | |
{ | |
"\UF729" = moveToBeginningOfLine:; // home | |
"\UF72B" = moveToEndOfLine:; // end | |
"$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home | |
"$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end | |
"^\UF729" = "moveToBeginningOfDocument:"; // ctrl+home | |
"^\UF72B" = "moveToEndOfDocument:"; // ctrl+end | |
"$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:"; // shift+ctrl+home | |
"$^\UF72B" = "moveToEndOfDocumentAndModifySelection:"; // shift+ctrl+end | |
"$\UF728" = cut:; // shift + del | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment