Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: