Hi Bram,

On Sun, Oct 18, 2020 at 6:14 AM Bram Moolenaar <[email protected]>
wrote:
>
> Hmm, so if I match "one two" on a text that contains "two one", it
> stil matches? Isn't that a bit unexpected?
>

Yes. If you search for "one two", it will match both "one two" and
"two one". Of course, the "one two" match will score higher than
"two one". This is useful, because the user then doesn't need to
know the order in which the words occur in the text.

The popular fuzzy matching tools like fzf does support this type
of matching. Also this feature was asked by several users.

>
> If I would match "one_two" then it would not match "two_one", right?
> Thus we are making white space very special. Not sure if that is the
> goal.
>

Yes. The white space separated text is treated as separate words.
Each word is fuzzy matched separately.

Regards,
Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7kQc3GR7__%2B52Q3cp3eQ6JyO5euzhaEAuBpY%2B%3DMkSAvEg%40mail.gmail.com.

Raspunde prin e-mail lui