• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

OSX Key Bindings (Home & End)

Knavish

Senior member
Do any of you know how to make the Home and End keys work properly 🙂biggrin🙂 on OSX? I keep trying to paste the following into ~/Library/KeyBindings/DefaultKeyBinding.dict:


{
"\UF729" = "moveToBeginningOfLine:";
"\UF72B" = "moveToEndOfLine:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}

...but this doesn't work. I was hoping someone out there in Anandtech land can answer this so I don't have to go find a Mac-specific forum.

Thanks,
Knavish
 
hrm ... I guess this is more complicated than I thought.

I've got some applications that following the Mac default behavior (Home and End go to beginning and end of a document), some that follow Windows behavior, and some that do nothing.

I guess that code I pasted in my first post does work for some programs, but too many programs have custom key bindings that override the Mac defaults, like Firefox and Matlab.
 
Yea, it is kind of hit or miss. I seldom need them, but I can see how it would annoy people. Heck even in Windows it seems to vary based on application, and what you have selected. If I have this Quick Reply box selected, Home and End move me to the beginning or end of the line respectively. But if I select the webpage at large, it is the top or bottom of the page.

The CMD+Arrow keys made some sense to me on my macbook and powerbook, but on a desktop keyboard that has the buttons...
 
Back
Top