I've enabled VIM style editing of bash commands at the bash prompt as default bash setting. On a few occasions I've accidentally opened a blank vim file with some complex bash command I was writing.
Awesome. How do I get the newly written line in vim back into bash? I found another post where the author had the opposite trouble--or so it seems.
What steps put my bash prompt commands into vim and then back again to bash to execute?