How can I ask for text input using the :sh read
command?
#14056
Unanswered
David-Else
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have a shortcut that sends the current buffer as context and asks for a prompt for AIChat. In the shell this works:
In Helix this works, but I want to replace
%{selection}
with a user input, you currently need to write a prompt in the buffer specially and select it:I can't seem to get
read
working in Helix,":sh read -r pr"
fails with error code 1, can anybody help!?PS AIChat can accept text as a command
aichat hello
or though STDINcat data.txt | aichat
Beta Was this translation helpful? Give feedback.
All reactions