Skip to content

Instantly share code, notes, and snippets.

@ubergoober
Created March 31, 2016 16:56
Show Gist options
  • Save ubergoober/c12a99ba360491e7a231a8d584a8596f to your computer and use it in GitHub Desktop.
Save ubergoober/c12a99ba360491e7a231a8d584a8596f to your computer and use it in GitHub Desktop.
OSX Home/End remapping
{
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfParagraph:; // end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
"^\UF729" = moveToBeginningOfDocument:; // ctrl-home
"^\UF72B" = moveToEndOfDocument:; // ctrl-end
"^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home
"^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end
}
@ubergoober
Copy link
Author

Create this file in ~/Library/KeyBindings
May have to create the Keybindings folder.
Then reboot for changes to take effect.
Source: damieng.com

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