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 for fzf syntax #50

Open
bondzula opened this issue Jul 29, 2023 · 4 comments
Open

Support for fzf syntax #50

bondzula opened this issue Jul 29, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@bondzula
Copy link

Hi, I've been using zf through telescope for a couple of months now, and I love it for both speed and file name matching priority. I'm just wondering if fzf compatible syntax for pattern matching is planed and or even possible? Full disclosure: I use it rarely, but occasionally, it is helpful to have.

For reference, telescope-fzf-native.nvim has a nice reference table of the syntax:

image

@natecraddock
Copy link
Owner

Hi @bondzula sorry for the delay on replying.

Right now I'm going to say maybe. I tried to design zf so that features like fzf search syntax aren't required. For example, instead of needing to end a query with $ it should just match filenames with better priority. Or if you want to match the beginning of a path, usually adding in a / at some point would help.

But I want to balance simplicity with useful features. I'll think about this more.

Something that may help motivate me is if you can give me specific examples where this would be useful.

@bondzula
Copy link
Author

Hi, I somehow missed this notification.

I've mainly used this syntax when exploring a new project, where maybe I want to see all files of certain file type, so $ come in handy. But I guess you are right, just tried .yml {search} and it does a good job of filtering it down

@natecraddock
Copy link
Owner

No worries! Since you noticed the .yml {search} worked well enough, I'm not going to prioritize this feature. But I'll keep the issue open for now to see if anyone else has a compelling use case.

@natecraddock natecraddock added the enhancement New feature or request label Aug 19, 2023
@bondzula
Copy link
Author

Sounds good, Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants