fix home/end keys in mac, firefox too

Posted on Thursday 5 November 2009

this is probably more for the switchers out there and my own personal reference, but if you like your home and end keys on your mac to go to the beginning of the line and end of the line, this is what you need to do:

system-wide home/end:
Make a file ~/Library/KeyBindings/DefaultKeyBinding.dict

{
"\UF729" = "moveToBeginningOfLine:"; /* Home */
"\UF72B" = "moveToEndOfLine:"; /* End */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* Shift + Home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* Shift + End */
}

that makes system-wide changes to your keybindings EXCEPT in firefox. to fix it in firefox, use this add-on:
Keyfixer

and now you have happily “working” home/end keys.


No comments have been added to this post yet.

Leave a comment




Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post |