Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
/* put this file in ~/Library/KeyBindings/ */
/* Home */
"\UF729" = "moveToBeginningOfLine:";
"^\UF729" = "moveToBeginningOfDocument:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
"^$\UF729" = "moveToBeginningOfDocumentAndModifySelection:";
/* End */
"\UF72B" = "moveToEndOfLine:";
"^\UF72B" = "moveToEndOfDocument:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
"^$\UF72B" = "moveToEndOfDocumentAndModifySelection:";
/* PgUp */
"\UF72C" = "pageUp:";
"$\UF72C" = "pageUpAndModifySelection:";
/* PgDown */
"\UF72D" = "pageDown:";
"$\UF72D" = "pageDownAndModifySelection:";
/* Left */
"^\UF702" = "moveWordLeft:";
"^$\UF702" = "moveWordLeftAndModifySelection:";
/* Right */
"^\UF703" = "moveWordRight:";
"^$\UF703" = "moveWordRightAndModifySelection:";
}
@lionello
Copy link
Author

lionello commented Jan 7, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment