Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
I wanted to find the beginning of the at, on and in: time
chapter in an English grammar book I use, but couldn't remember the order in which the prepositions went, so I tried fuzzy-searching with :lvimgrep /in at on time/f %
. Vim found the line I wanted, but it was lost among several thousands of other, non-relevant lines that it also found.
Describe the solution you'd like
It would perhaps be useful to have a flag for whole words fuzzy-searching for cases like that.
Describe alternatives you've considered
/\v(<in>.*)@<=(<at>.*)@<=(<on>.*)@<=time
did the trick, but it worked very, very slow.
OS: Windows 10 Home
Terminal: GUI
gVim: 9.1.466.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I think I should clarify what I meant by "whole words" mode: if characters are consecutive in the search string, they should be
consecutive in the result string too.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.