Replies: 8 comments
-
|
Beta Was this translation helpful? Give feedback.
-
thx for answering I can only use :pipe wc --word ,and press u ,is there a better way? |
Beta Was this translation helpful? Give feedback.
-
I agree that the current behavior seems weird to me (helix newcomer) coming from vim where selections, current-filename (%) and such are first-class citizens in any command prompt. Looks like we could relax the constraints here: helix/helix-term/src/commands.rs Lines 5473 to 5476 in 77fe8f2 Specifically, allow any shell command to do those things to the command output:
But more importantly, all of them should be able to receive the selections as stdin, which is currently not supported due to the aforementioned constraint. If we were to relax it, the variety of commands could be maybe reduced to a simple modifier to describe the operation (insert, append, …) followed by |
Beta Was this translation helpful? Give feedback.
-
I agree that this would be a handy feature. It looks like #3134 could define a selection substitution as well to cover this use case. |
Beta Was this translation helpful? Give feedback.
-
Is there any update on this? Or still |
Beta Was this translation helpful? Give feedback.
-
I also want to be able to select text in Helix (like with |
Beta Was this translation helpful? Give feedback.
-
Are there any updates to this? Maybe the pipe-to (or maybe a new pipe-to-register), instead of ignoring the output fully, it could write it on a register, so we can paste it if needed. |
Beta Was this translation helpful? Give feedback.
-
Migrate from vim. I miss somethings like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to pipeline each selection to the shell command and display the returned results (like :sh retruned),What should I do?
Used :pipe will changed selection,
Cannot write to pipeline with :sh command,
What is the register to obtain the value of the selection area?
Beta Was this translation helpful? Give feedback.
All reactions