Is there a vim mode available for iex
? That is, something like set -o vi
in bash.
Here's my version info: IEx 1.13.0 (compiled with Erlang/OTP 24)
I'm running it on Linux Mint 20.2 Uma
.
Is there a vim mode available for iex
? That is, something like set -o vi
in bash.
Here's my version info: IEx 1.13.0 (compiled with Erlang/OTP 24)
I'm running it on Linux Mint 20.2 Uma
.
No, iex
doesn't have vim mode.
However, if you're a vim user, I can recommend you check out neovim. It has a built-in terminal emulator which might solve some of your needs. You could always spin it up and run iex
within allowing you to more or less navigate the terminal through vim.
set modifiable
and you try to edit your commands, the modifications do not survive going back to insert mode. Then in a command line vim mode, j
and k
are a quick way to go up and down the command history so you would lose of the main perks of a command line vi mode. –
Canossa © 2022 - 2024 — McMap. All rights reserved.
iex
relies onerl
which is a rolling implementation of the shell. – Criminal