search implementation now works in the manner of readline's reverse isearch