Skip to content

Instantly share code, notes, and snippets.

@maurofaccenda
Created July 10, 2024 08:23
Show Gist options
  • Save maurofaccenda/d297f415bb31c5bfab4575b69e0e4bdd to your computer and use it in GitHub Desktop.
Save maurofaccenda/d297f415bb31c5bfab4575b69e0e4bdd to your computer and use it in GitHub Desktop.
{
"\UF729" = "moveToBeginningOfLine:";
"\UF72B" = "moveToEndOfLine:";
"$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end
"^\UF729" = moveToBeginningOfDocument:; // ctrl-home
"^\UF72B" = moveToEndOfDocument:; // ctrl-end
"^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home
"^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end
}
@maurofaccenda
Copy link
Author

Add this to ~/Library/KeyBindings/DefaultKeyBinding.dict

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