Skip to content

Instantly share code, notes, and snippets.

@greneholt
Last active January 8, 2024 20:15
Show Gist options
  • Save greneholt/17827a5a2ffdea2427c59ff45c238353 to your computer and use it in GitHub Desktop.
Save greneholt/17827a5a2ffdea2427c59ff45c238353 to your computer and use it in GitHub Desktop.
Keybindings to make home and end move to the beginning and end of the line. Place in ~/Library/KeyBindings/DefaultKeyBinding.dict
{
"\UF729" = moveToBeginningOfLine:; // home
"\UF72B" = moveToEndOfLine:; // end
"$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment