smart-open.nvim icon indicating copy to clipboard operation
smart-open.nvim copied to clipboard

[Feature Request] `match_algorithm` add support for `zf`

Open younger-1 opened this issue 1 year ago • 1 comments

telescope-zf-native.nvim is a native telescope bindings to zf for sorting results, which is designed for better matching on filepaths than fzf or fzy. Not only the matching on filenames are prioritized, but also it supports space-seperated and orderless text component match (just like emacs's awesome orderless). It would be nice to support this!

younger-1 avatar Mar 18 '24 16:03 younger-1

I'm open to anybody working this in. It sounds nice!

Note that as part of its self-tuning behavior, smart-open already uses the existing fzf and fzy algorithms to match both on the full path (including filename) and the filename alone. How much weight to put on which match score is part of what gets automatically adjusted, so it should adapt to your usage.

danielfalk avatar Oct 15 '24 15:10 danielfalk