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?
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
)
No!
Well you could write your own line edit module and use that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With