Premise: Mice bring deseases.
Your program uses the readline library, so it allows me to take full advantage of the vi editing mode that I use, except that pressing v does not open the editor to edit the command. This, by itself, is not a problem, since your program is just for that, editing the command easily.
However, when I want to copy the command from the shell to somewhere else (e.g. here), I have to approaches:
- selecting the command with the mouse (to have it stored in the primary selection), which is against the premise;
- using this approach (to have it stored in the primary selection and/or clipboard, as I like), which assumes that I can edit the command in
vi when pressing v.
I don't know if it's possible for you to allow in-editor editing of the command. Maybe you have another way to copy the command to the clipboard or primary selection?