Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support reading from standard input #927

Closed
malte-v opened this issue Oct 28, 2021 · 5 comments · Fixed by #996
Closed

Support reading from standard input #927

malte-v opened this issue Oct 28, 2021 · 5 comments · Fixed by #996
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements E-good-first-issue Call for participation: Issues suitable for new contributors

Comments

@malte-v
Copy link
Contributor

malte-v commented Oct 28, 2021

Kakoune allows reading stdin directly into a buffer, like dmesg | kak from a shell. I use this to page large amounts of text with Kakoune, and IMO Helix should support it, too.

@malte-v malte-v added the C-enhancement Category: Improvements label Oct 28, 2021
@kirawi
Copy link
Member

kirawi commented Oct 28, 2021

Piping?

@malte-v
Copy link
Contributor Author

malte-v commented Oct 28, 2021

Yes.

@kirawi
Copy link
Member

kirawi commented Oct 28, 2021

I think you can do that now #547

@malte-v
Copy link
Contributor Author

malte-v commented Oct 28, 2021

I don't think #547 implements what I mean. I'm talking about reading text from stdin into a buffer on startup.

@malte-v
Copy link
Contributor Author

malte-v commented Oct 28, 2021

For reference, vim allows someprogram | vim -, and neovim as well as Kakoune don't even need the -, e.g. someprogram | nvim/kak.

@kirawi kirawi added A-helix-term Area: Helix term improvements E-good-first-issue Call for participation: Issues suitable for new contributors labels Oct 31, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements E-good-first-issue Call for participation: Issues suitable for new contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants