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 replicate Windows Home/End keys to use to jump to the end of a line or use Shift to highlight to the end or start of a line

share|improve this question
up vote 10 down vote accepted

I used the following a lot.

⌘CMD+: Home

⌘CMD+: End

⌘CMD+: Beginning of Line

⌘CMD+: End of Line

These I learned the other day from here - very handy for coding and writing, these are emacs bindings which work on Macs.

CTRL+A: beginning of line.

CTRL+E: end of line.

CTRL+U: delete from cursor to beginning of line.

CTRL+K: delete from cursor to end of line.

CTRL+W: erase word to the left.

CTRL+T: transpose characters around cursor.

share|improve this answer

The shortcuts you're looking for are listed on this very handy article in the Apple KB. Hope it helps.

share|improve this answer
Extensive. This is handy. – Paul Eccles Aug 4 '11 at 20:26

With MacBook Air (the 2012 model at least) the best solution I found was the free KeyRemap4MacBook utility -- it lets you change the keyboard in many ways, and I settled with "fn + cursor left/right" for Home/End and "fn + up/down" for PgUp/PgDown.

(See also a related question with the same answer.)

share|improve this answer
Concise, clearly-written answer, with research on related answers, well done. Upvoted. – gosmond Feb 22 '13 at 20:58
Thanks @gosmond, it it quite fun to learn the Mac after 20 years on PC keyboard :) – Premek Brada Feb 22 '13 at 21:01

These can actually be mapped globally for most applications by creating entries in ~/Library/KeyBindings/DefaultKeyBinding.dict

But this guy created a handy little packaged script called Keyfixer that sets up the bindings in the way you describe (with some additional Control and Shift modifiers.) I threw it in my Dropbox and run it on any Mac I have to use. Since the preferences are per-user you don't have to worry about screwing up someone else's keys.

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.