Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fzf --scheme=path behavior #146

Open
acook opened this issue Feb 19, 2025 · 0 comments
Open

Support fzf --scheme=path behavior #146

acook opened this issue Feb 19, 2025 · 0 comments

Comments

@acook
Copy link

acook commented Feb 19, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant