I quite often find myself needing to move the cursor to the beginning or the end of the line.
Is there a keyboard shortcut or other magic trick to move the cursor apart from the arrow keys.
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
You can also hold down the alt key and click with your mouse wherever you want the cursor to jump to.
Note however, that this only works on the same line the cursor currently is on, so if you have a long command wrapping around two lines, you will have to jump to the beginning of the second line, jump one character back (so you´re on the end of the first line now) and then can use the alt+mouse to navigate again.