Wednesday, 24 January 2007

Change the Mac's way of dealing with Home and End

Finally, if you're a Windows user and the Mac's way of dealing with Home and End really bugs you, here's a tip from Aaron Adams -

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:"; /*home*/
"\UF72B" = "moveToEndOfLine:"; /*end*/
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /*shift + home*/
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /*shift + end*/
}
Logout and login, and the home and end keys will work like Windows.

No comments: