telescope-fzf-native.nvim icon indicating copy to clipboard operation
telescope-fzf-native.nvim copied to clipboard

Support fzf --scheme=path behavior

Open acook opened this issue 9 months ago • 0 comments

fzf hash added the path scheme. This makes it so that we can see prioritized results where the latter parts of the string are matched first (among other tweaks), which is usually what you want when selecting files.

For instance, when I search my source folder and type in modern.sh:

  • using fzf --scheme=default the first result is .../modern.sh/README.md
  • using fzf --scheme=path the first result is .../modern.sh/modern.sh
  • using Telescope without telescope-fzf-native the first result is .../modern.sh/modern.sh
  • using Telescope with telescope-fzf-native the first result is .../modern.sh/README.md

acook avatar Feb 19 '25 10:02 acook