Home sweet home

In my continuing trend of hacking OSX to behave the way I want am accustomed to, I spent Monday night reclaiming my home and end keys. I knew I had seen this hack somewhere before, I just had to find it again. This comes courtesy of Aaron Adams, via The Tao of Mac:

To change the Mac’s home and end keys to behave like Windows, create a text file named /Library/KeyBindings/DefaultKeyBinding.dict (if the folder doesn’t exist, go ahead and create it) and add these lines:

/* Home/End keys like Windows */
{
"\UF729" = "moveToBeginningOfLine:";
"\UF72B" = "moveToEndOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
}

Logout and login, and the home and end keys will work like Windows.

No more command-left. Oh frabjous day.

0 Responses to “Home sweet home”


  1. No Comments

Leave a Reply