Skip to content

Instantly share code, notes, and snippets.

@jahio
Created September 5, 2015 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahio/f3d18f0afd75e1b9c555 to your computer and use it in GitHub Desktop.
Save jahio/f3d18f0afd75e1b9c555 to your computer and use it in GitHub Desktop.
Home and End Key Remapping - OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
{
// Home
"\UF729" = "moveToBeginningOfLine:";
// End
"\UF72B" = "moveToEndOfLine:";
// Shift+Home (highlight from cursor to start of line)
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
// Shift+End (highlight from cursor to end of line)
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment