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

Idea: option to filter displayed text by column #141

Open
christianhassler opened this issue Mar 22, 2020 · 1 comment
Open

Idea: option to filter displayed text by column #141

christianhassler opened this issue Mar 22, 2020 · 1 comment

Comments

@christianhassler
Copy link

I think it would be nice if fzy had a simple way to "hide" delimited columns from the interactive display while still allowing them to be piped to stdout.

Imagine I have something like a csv file. Column 1 contains a "friendly" name and the remaining columns contain arbitrary machine-readable data. I would like to select a row by its friendly name using fzy, but then pipe the entire row to something else for further processing.

It wouldn't have to be any fancier than what cut does (-d to choose a delimiter and -f to select columns to display). Perhaps there could also be an option to choose whether or not the filtered text factors into the scoring, if such a thing would be easy to implement.

@zvezdochiot
Copy link

zvezdochiot commented Mar 22, 2020

#135

More specifically: applying regexp to a display list, but not to the strings themselves.

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

2 participants