askai
askai copied to clipboard
readline support
It would be a nice addition if askai live
prompt used gnu readline so we we can use the shortcuts we've gotten used to at the prompt. For example:
- Ctrl-Left to go back a word.
- Ctrl-K to cut things to the right of the cursor
- Ctrl-W to cut a single word and add it to the buffer.
- Ctrl-Y to paste the buffer
It's helpful when you want to edit a word 4 words ago. Ctrl-w-w-w, edit, Ctrl-y
and it's done.