19

Is there a quick key combo that will allow me after typing some stuff in the OSX terminal to move back to the beginning of that line? I have tried different things, and was wondering if there is a way without setting up something that is custom.

34

CTRL+a moves to the beginning of the line, CTRL+e to the end of the line.

  • 2
    BTW, it also works in any Cocoa control (text area, etc.) – Loïc Wolff Feb 22 '11 at 15:39
  • Haha. That easy, huh? Thanks. My Linux habits and <kbd>command</kbd>+<kbd>left</kbd> from the OSX GUI made me scratch my head. – songei2f Feb 22 '11 at 21:14
  • 3
    why, my god? why? – BrunoJCM Jul 10 '15 at 1:17
  • Follow-up question (which answers @BrunoJCM's question/plea) - does Terminal provide any other emacs-compatible keybindings? – MikeTheTall Jun 25 at 2:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .