I pressed Ctrl-R to enter into reverse-i-search
mode. I stared typing and I couldn't find the command I was looking for. Now I want to exit this search mode. If I press Esc, the last line I viewed will remain on the prompt. I don't want that. I want to go back to a completely clean prompt. How do I do this?
It's Ctrl-G.
This is an easy one ctrl+c