Categories
Science and Technology

Home Keys on a Mac

God, the default behavior drives me nuts! In case you’re not “in the know,” pressing the “Home” key on your keyboard if you’re using a Mac will scroll whatever window you’re in to the top — on a Windows computer, if just sends the cursor to whatever line you’re currently typing on.

Well, “to each technology its own and all,” but I’m used to Windows’ behavior, so I’m going to have to change that if I’m going to type on a Mac.

So, I set out to look for a way to change it, and found this site on the web — pretty straight forward, if you ask me!

Just add the following lines to your “~/Library/KeyBindings/DefaultKeyBinding.dict.” file (if it doesn’t exist, create it):

{
/* Remap Home / End to be correct :-) /
“UF729” = “moveToBeginningOfLine:”; /
Home /
“UF72B” = “moveToEndOfLine:”; /
End /
“$UF729” = “moveToBeginningOfLineAndModifySelection:”; /
Shift + Home /
“$UF72B” = “moveToEndOfLineAndModifySelection:”; /
Shift + End */
}

And that’s it! Just restart any application that you want to reflect this behavior and you’re good to go!

4 replies on “Home Keys on a Mac”

Ooooo, oooo. If Apple wanted it to work like that, they would have shipped it like that. I’m going to have to call the local Apple Operating System Validity Squad.
Your copy of Mac OS is no longer valid and must be deleted. All your computers will have to be destroyed to in order to prevent this hacked copy of the OS from showing up on the Intarwebs.

Ooooo, oooo. If Apple wanted it to work like that, they would have shipped it like that. I’m going to have to call the local Apple Operating System Validity Squad.

Your copy of Mac OS is no longer valid and must be deleted. All your computers will have to be destroyed to in order to prevent this hacked copy of the OS from showing up on the Intarwebs.

Leave a Reply