Erlang interpreter: Vi mode

erlang

Solution

Yes! Just call it as

rlwrap erl -oldshell

NOTE: you may need to install rlwrap (readline wrapper) and adjust your .inputrc (`set editing-mode vi`)

Problem

I'm currently trying to get my hands dirty with Erlang. Also, in the (zsh) shell, I have got accustomed to using vi mode for line editing (`set -o vi`). So: Is there a way to make the Erlang interpreter use more vi-like keybindings?

Original source