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

In most text areas, ctrl-a and ctrl-f used to move my cursor to the beginning/end of the line, but now I get "^A" printed to terminal, and nothing happens in other input areas.

Any ideas what happened?

share|improve this question
So, the move is broken in textedit too? CTRL-A beginnig of line, CTRL-E end of line, CTRL-F one char right, CTRL-B one char left. – jm666 Jun 7 '11 at 17:12
hmm, works in textedit, must be my bash key bindings – klochner Jun 7 '11 at 18:49
I also have it broken (OS-X Lion Preview4) but I don't have any "set -o vi" settings. Ctrl-A does not have any effect! WTF? I cannot use screen to switch or create new screen sessions. – user7351 Jun 21 '11 at 1:12

It was my bash key bindings - I had "set -o vi" in .bashrc.

share|improve this answer
So use, ESC-0 for the beginning of the line, "$" to end, and so on... :) but, you probably know "vi" when activated the vi-mode ;) (i'm using it too) :) – jm666 Jun 7 '11 at 19:33
indeed - just overlooked that I would lose the emacs-style bindings :) – klochner Jun 7 '11 at 21:29

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.