Skip to content

Instantly share code, notes, and snippets.

View flyfy1's full-sized avatar

Song Yangyu flyfy1

View GitHub Profile
@flyfy1
flyfy1 / gist:15cd169339f4dac446039976c6e0390a
Last active July 16, 2016 13:29 — forked from jfreeze/gist:8894279
Get VI bindings in IEX (Elixir REPL)

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