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 fuzzy search directly in SubRPC #2

Open
PierreBesson opened this issue Feb 1, 2023 · 1 comment
Open

Support fuzzy search directly in SubRPC #2

PierreBesson opened this issue Feb 1, 2023 · 1 comment

Comments

@PierreBesson
Copy link

In the README, we have the suggestion to integrate subrpc with fuzzy search provided by fzf.

Skim is an fzf alternative written in Rust that support using it as a library. By using the Skim library directly in SubRPC, it would be possible to provide features similar to the sub shell function without using an external program such as fzf.

@chevdor
Copy link
Owner

chevdor commented Feb 2, 2023

Thanks for the issue @PierreBesson. I think it is healty to keep tools doing their job and not doing too much but I see your point and that is something that may be added as optional feature.

It is not yet clear to me what the effort vs features ratio will be between subrpc+skimlib vs piping to fzf vs piping to skim. I also never played with skim so I will check it out and in any case, I could add an example similar to the fxf function but using skim as a start.

Especially, using fzf means your are piping and also can use tons of other tools such as grep, uniq, sort, etc...
in a way that solve each users' problem.

To be a good alternative means implementing all those options as well...

Are there use cases you have in mind that could be done integrating the skim lib into subrpc that is not available when piping to fzf or even skim itself ?

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