Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
~/Library/KeyBindings/DefaultKeyBinding.dict - remap home and end keys in OSX
{
// via http://apple.stackexchange.com/questions/16135/remap-home-and-end-to-beginning-and-end-of-line
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfParagraph:; // end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
// Add to ~/Library/KeyBindings/DefaultKeyBinding.dict and restart your program.
}
@francisluong

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.