Yes. Not only that but it has something even cooler: ESC + Q
Let's say you are about to finish a really long command and realize you should have done one other command first.
ESC + Q clears the current line, lets you enter a command, and then inserts the cleared line again on the next prompt. You have to try it to realize how cool it is.
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.
Let's say you are about to finish a really long command and realize you should have done one other command first.
ESC + Q clears the current line, lets you enter a command, and then inserts the cleared line again on the next prompt. You have to try it to realize how cool it is.
reply