Allow history-searching.

  This is naive as it only finds/matches/returns the most recent
 match
  Allow history matching/searching via Ctrl-r.

  This replaces the input-buffer with the most recent entry which
 matches the current input.