If you're a vi user, edit ~/.inputrc and add:
set editing-mode vi
set keymap vi-command
This changes readline behavior from emacs to vi. This, along with "set -o vi" in bash, are really handy (though can be frustrating for others if you ever share a keyboard pair programming).