Originally posted by @dannyweldon in #748 (comment)
I prefer to use Ctrl-X, Ctrl-E to invoke an external editor in emacs mode (or v in vi mode), which I assume is invoking the same functionality. Now, […] a feature that I would like is that when control returns back to the shell from the external editor, the resultant text just replaces the current command line contents without executing it, and you can then choose to carry on editing, discard it or execute it as desired.
The mysql cli has something along those lines as it allows editing of the previous command using '\e', and after returning to the prompt, it can be executed with '\g' or cancelled with \c'.