highlight input of user
reordered functions
only highlight matches after cursor position
Check that the search history is correctly restored in all modes