danielfalk / smart-open.nvim

Neovim plugin for fast file-finding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

younger-1 opened this issue · 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!

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.