Just type the start of any word that has ever appeared in your window and then Cmd-; will pop open a window with suggestions. The word you're looking for is usually on top of the list!
Cmd=;でいいんだってぇ。
iTerm2 - Mac OS Terminal Replacement
なんか微妙に便利なのかしら。