The Radare2 command line (I believe it's called "interactive mode"?) allows bringing back history and editing it with the arrow keys. However, I prefer to use vi/vim keybindings for this. How do I configure this?
I do have a $HOME/.inputrc
file which contains set editing-mode vi
, and this works for many programs (presumably all that use GNU Readline or a compatible library).
Alternatively, is there an option available to build Radare2 with Readline?
e??~vi
, with a tilde instead of a hyphen, right?