Use timeout for search instead of maximum number of ranges (#7495)
Use timeout for search instead of maximum number of ranges (#7495)

The timeout length is currently hardcoded to 1 second.
Fixes #6957
VSCodeVim/Vim,VSCodeVim/Vim