2005
03.01

Changing Key Bindings

One of the things I expected to have to get used to in OS X is the different key combinations to maniuplate text. I’ve gotten so used to how this works in Windows that it’s almost Zen-like, but I promised myself that I’d give the Mac-way suffucient time to sink in. However, now that I know that the default key bindings can be changed (see below), this is going to be very difficult to resist.

Apparently, the home/end keys don’t work as they do in Windows, moving the caret to the beginning/end of the line, but apparently, this can be changed! I won’t be able to try this until my Mac arrives (in 3 days, btw!), but here it is, courtesy of Slashdot:

Create a file ~/Library/KeyBindings/DefaultKeyBinding.dict with this content:

/* Home/End keys more like Windows */
{
“\UF729″ = “moveToBeginningOfLine:”; /* home */
“\UF72B” = “moveToEndOfLine:”; /* end */
“$\UF729″ = “moveToBeginningOfLineAndModifySelection:”; /* shift + home */
“$\UF72B” = “moveToEndOfLineAndModifySelection:”; /* shift + end */
“^\UF729″ = “moveToBeginningOfDocument:”; /* control + home */
“^\UF72B” = “moveToEndOfDocument:”; /* control + end */
}

No Comment.

Add Your Comment

You must be logged in to post a comment.