Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change the settings for OS X Lion so that the combination of Shift+End results in the selection of text from the current cursor position to the end of the current line? Specifically, I would like to be able to do this in Firefox, but if there is a general method that works for most/all applications, that would be ideal.

share|improve this question
You may be interested in Nathan Greenstein's screencast that goes through how to be an OS X ninja with keyboard shortcuts and text:… – Ian C. Mar 20 '12 at 0:19
up vote 3 down vote accepted

There is a default key binding to perform this function: shift + ⌃ (control) + .

If this won't serve, you may be interesting in Jacob Rus: Customizing the Cocoa Text System which provides instructions for creating your own keybindings dictionary.

See also:
Apple Mac OS X Developer Library:Text System Defaults and Key Bindings
Ask Different: DefaultKeyBinding.dict - old-style NeXT format vs XML plist format

share|improve this answer
I'd rather do it the Mac way, so thanks for educating me on that. I'm still transitioning from Windows. That said, I am interested in the keybindings info as well, so thanks for that. – AJ. Mar 19 '12 at 22:39
I think you made the right call. Remapping the bindings gets into areas that make me uncomfortable—and drive you crazy when you're used to a custom set up but have to use someone's stock computer. – jaberg Mar 19 '12 at 22:44

Basically you could create ~/Library/KeyBindings/ and save a property list like this as DefaultKeyBinding.dict:

    "\UF729" = moveToBeginningOfLine:;
    "\UF72B" = moveToEndOfLine:;
    "$\UF729" = moveToBeginningOfLineAndModifySelection:;
    "$\UF72B" = moveToEndOfLineAndModifySelection:;

The custom keybindings are currently not supported by Firefox though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.