Open lobre opened 9 months ago
In case you haven't seen it already, Nextvi implements this feature as a patch. It might not be trivial to adapt to Neatvi codebase, but at least you could use this as a starting point: stdin_pipe.patch
That is a nice feature that enables interesting workflow in a UNIX philosophy. Thank you for posting that.
Is such a patch too complicated to be adapted to neatvi's codebase @aligrudi?
@kyx0r BSD vi says: ex/vi: Vi's standard input and output must be a terminal. Maybe master Neatvi should also complain.
I don't know if this is something doable in
vi/nvi
but invim/nvim
orkakoune
, you can redirect the output of a command in the shell to the editor.Would it be something that would make sense to have in
neatvi
? It can serve to have initial data for a new file or to serve as a pager to quickly review the output of a command.