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

(not an actual issue) I'm making a Nushell plugin for integrating skim #570

Open
idanarye opened this issue Jun 14, 2024 · 0 comments
Open

Comments

@idanarye
Copy link

I don't know if this project is still active, but I figured opening an issue would be the best way to notify the maintainers (if discussions were enabled here I'd open a discussion instead)

I'm working on a skim integration for Nushell:

https://github.com/idanarye/nu_plugin_skim

Nushell is a shell that uses structured data types instead of raw text. It can still handle raw text, of course, but it provides its own versions of many shell commands that emit structured data. It also provides filters that can be used to shape that data.

My plugin uses skim as a library to create an sk Nushell command for filtering data. It's advantages over using regular sk:

  1. You don't need to convert the structured Nushell streams to lines of regular text. You can just pipe them into sk.
  2. The output is a structure Nushell object you can farther manipulate with other Nushell commands.
  3. Some sk flags (like --preview) are Nushell closures that accepts the structured data as their input, instead of strings that take a column using a placeholder.

I'm hoping to make a release within a week or two (right now I'm working on supporting all the flags in SkimOptions). I'm giving you this heads up in case you want me to change anything before I make that 0.1.0 release.

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