…the right way, instead of the stupid default way. In short:
Workaround for general apps/text editor, including TextMate
Use this app: http://www.starryhope.com/tech/apple/2006/keyfixer/
Or make it your way:
- Create
~/Library/KeyBindings/DefaultKeyBinding.dict - Inside
- DefaultKeyBinding.dict
write
{
/* home */
“\\UF729″ = “moveToBeginningOfLine:”;
“$\\UF729″ = “moveToBeginningOfLineAndModifySelection:”;/* end */
“\\UF72B” = “moveToEndOfLine:”;
“$\\UF72B” = “moveToEndOfLineAndModifySelection:”;/* page up/down */
“\\UF72C” = “pageUp:”;
“\\UF72D” = “pageDown:”;
} - Restart your favorite apps
More info: http://www.starryhope.com/tech/2006/mac-os-x-home-and-end-keys/
Firefox
Use this add-on: https://addons.mozilla.org/en-US/firefox/addon/keyfixer/
Terminal
- Go to Terminal > Preferences > Settings > Keyboard
- Double click on Home key. Choose
action: "send string to shell". Input: Escape, O, H so that you got33OHin the textbox. - Do the same for End key with
33OF
If it doesn’t help, try another key-binding: http://fplanque.com/dev/mac/mac-osx-terminal-page-up-down-home-end-of-line
Advertisement
Thanx,
It worked for me.