My Emacs keybindings in zsh are not working (CtrlA, CtrlE). I use zsh on OS X.
They might be bound to some other thing. I'm currently using oh-my-zsh.
.zshrc is over here.
migrated from stackoverflow.com Dec 24 '12 at 2:37
This question came from our site for professional and enthusiast programmers.
You can find out what codes you need by typing CtrlV CtrlA and CtrlV CtrlE.
Then you can put the code in your .inputrc, the system /etc/inputrc, or your zshrc like this:
This works for other keys too. For instance, I had some trouble with Home and End.
You should be able to use this trick in any terminal session : tty,
I got the problem solved. Looks like oh-my-zsh was overriding the default keybindings.
When I added the below line at the end of my