When I use edit-command-line, my resulting command is always placed on a new line.

For example, I am at my prompt, I trigger the editor and type ls, save and quit. My resulting ls is now at a new prompt, rather than the one I used to trigger the editor. As I use this a fair amount, it spaces out all the commands and is kind of annoying.

Is there anyway to stop this behaviour, and just have my command on the same line where I started the editor?


Thanks,

Muhmud.