[vim/vim] "Whole words" mode for fuzzy-searching for more than one word (Issue #15131)

11 views
Skip to first unread message

lkintact

unread,
Jun 30, 2024, 3:09:53 PM (2 days ago) Jun 30
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/15131@github.com>

lkintact

unread,
Jul 2, 2024, 7:54:23 AM (17 hours ago) Jul 2
to vim/vim, Subscribed

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.Message ID: <vim/vim/issues/15131/2202968228@github.com>

Reply all
Reply to author
Forward
0 new messages