HOME and END keys don’t work in my iex running on Ubuntu 18.04:
Erlang/OTP 22 [erts-10.7.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
Interactive Elixir (1.10.3) - press Ctrl+C to exit (type h() ENTER for help)
When the HOME key is pressed, nothing happens.
When the END key is pressed, a ‘~’ is typed.
The ‘Delete’ key works fine.
The same is seen in my Erlang shell.
How to fix it? Thanks.
ctrl-a and ctrl-e work perfectly as HOME and END respectively in my iex as well as my erlang shell, thanks!
Still they are not as convenient as HOME and END keys, is there anything I can tweak to make HOME and END keys work?
They are subset of Emacs shortcuts…
||Beginning of line
||End of line
||Enter shell break mode
||Fetch next line from the history buffer
||Fetch previous line from the history buffer
||Insert previously killed text
I think it’s easier to learn some Emacs, than to make HOME and END keys work