I remember running across this command a while back although I do not remember the command itself. As I remember it, you ran the command, it would create a temp buffer that would then be edited by the default editor (vim) and upon closing the buffer, the command would be executed.
$ <buffer edit command> ~ # Write bash temp script ~ for i in *; do ~ echo $i ~ done $ file1 $ file2 $ file3 $ ...
Does anyone know what this command is? It is like writing a bash script in vim only without saving the file and just running it.