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

[FR] add the ability to filter the candidates based on their current line value in fzf #99

Open
NightMachinery opened this issue Sep 20, 2021 · 0 comments

Comments

@NightMachinery
Copy link

This way, we can use an "easy", general regex, and use some manual, interactive filtering to select just the candidates we need.

To implement this, you only need to add the current line to the choices in fzf, using a separator between the file path and the matched line:

/some/file.txt:the matched line
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