Clone of the IndexedSearch plugin from http://www.vim.org/scripts/script.php?script_id=1682