Open VisenDev opened 3 days ago
shell-command-on-region
is called filter
in flow. But you mean the process should be long running right?
shell-command-on-region
is calledfilter
in flow. But you mean the process should be long running right?
Yes, it would have to be persistent
I'm gonna say this is out of scope for flow at the moment then. Managing a long running background task is not something I really want to build directly into flow's core. It's a perfect task for a plugin though.
Actually, flow already has really good support for long running child processes (used for example to drive LSPs and ripgrep), but I'm not sure what generic interface you would like to see.
I'm gonna say this is out of scope for flow at the moment then.
Thats fine, I just wanted to create a proposal for it since I've been really enjoying the repl integration emacs has. (ie, Slime)
Actually, flow already has really good support for long running child processes (used for example to drive LSPs and ripgrep), but I'm not sure what generic interface you would like to see.
I wonder if there is a way to "jack in" to a process running in a different terminal pane and send it input thru stdio. I think kakoune has a plugin that does something like that https://asciinema.org/a/379916
Extracted from #62
First steps
sub process
inside of flow #67alt-x shell-command-on-region
in emacs)This would allow users to start a repl inside of flow, then send highlighted text to the repl for evaluation.