VI bindings in iex: brew install rlwrap # on OSX echo "alias iex='rlwrap -a foo iex'" >> ~/.bash_profile echo "set editing-mode vi" >> ~/.inputrc source ~/.bash_profile To run iex WITHOUT rlwrap \iex