A little bit of shake n’ bake
Mac OS X: end and home keys
I have been using Macs over five years and it has always bothered me that the home and end keys didn’t do what they do on every other computer. For whatever reason, in Mac OS X, when you hit the home or end key your view of the text document is moved to the beginning or end respectively. This wouldn’t be an issue if every other computer hadn’t taught me that these keys are supposed to move me to the beginning and end of the line of text that I am on. I finally get annoyed enough to figure out the answer.
After a quick Google search I found the answer from a blog called Phatness. You can read the article here, but if you don’t want to read all the introduction over there, which was decently funny, here is what you do to fix it yourself:
1. Create a new file called DefaultKeyBinding.dict in the directory Users/%YOUR USERNAME%/Library/KeyBindings/
* Note: This folder won’t exist if you haven’t setup non-standard key bindings
2. Copy the following code into the file, and save the file
3. The new key bindings won’t take affect in any applications that are open without re-opening them
1 2 3 4 5 6 7 8 | { "\UF729" = "moveToBeginningOfLine:"; "$\UF729" = "moveToBeginningOfLineAndModifySelection:"; "\UF72B" = "moveToEndOfLine:"; "$\UF72B" = "moveToEndOfLineAndModifySelection:"; "\UF72C" = "pageUp:"; "\UF72D" = "pageDown:"; } |
| Print article | This entry was posted by adam on December 1, 2009 at 11:45 pm, and is filed under Mac. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |