Last active
September 6, 2015 20:03
-
-
Save francisluong/71bd2a4d3014716de8bf to your computer and use it in GitHub Desktop.
~/Library/KeyBindings/DefaultKeyBinding.dict - remap home and end keys in OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you to StackExchange:
http://apple.stackexchange.com/questions/16135/remap-home-and-end-to-beginning-and-end-of-line