Looking for ALT+LeftArrowKey solution in zsh

I just recently switched from bash to zsh, however I miss my Alt+LeftArrowKey and Alt+RightArrowKey to go back and forth a word at a time.

Right now, if I press Alt+LeftArrowKey I go back a couple of letters and then I’m stuck. I won’t go any further backwards and it won’t back to the end of the line with Alt+RightArrowKey as I would expect. I can’t even use the arrow keys to go to the end of the line, only to the second to last. Can’t input new chars on the line either or indeed delete.

How do I get my beloved shortcut back?

I’m on Mac OS X using Terminal if that’s important.

13 Answers
13

Leave a Comment