I use Alt+# in bash to do something similar. It comments out the current line and gives you a new prompt. Then you can run whatever you wanted to do first, and then scroll up, delete the hash sign and hit Enter.
Esc-Q sounds easier, though.
Esc-Q sounds easier, though.
No comments yet.