When searching for a text string in a file, use recent search history: with the search pane already open, press &shortcut:ShowSearchHistory; again to show the list of recent entries.

Recent search history