Trim search query
Escape to cancel search, enter to navigate to first result