Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit subsequent blocks of code to the chat. #51

Open
madsamjp opened this issue Feb 10, 2024 · 1 comment
Open

Submit subsequent blocks of code to the chat. #51

madsamjp opened this issue Feb 10, 2024 · 1 comment

Comments

@madsamjp
Copy link

After submitting a block of code to the model, and having a back and forth chat, I've found it's not so easy to submit another snippet of code to the model. Also, the prompt window doesn't really allow for intuitive vim keybindings, it's just on one line and not so easy to edit. This means it's not really practical to just paste blocks of code into the prompt window.

Would it be possible to paste selected blocks of code from the buffer back to the chat model, and/or make the prompt window more interactive to allow for constructing more complex prompts?

@dustinblackman
Copy link
Owner

Hey there! Sorry for the delay.

You're right the back and forth aspect isn't great at the moment. Right now it expect you to talk about a single codeblock you send back, and to start a new session afterwards. I'll move this issue to the main repo as a feature request. :)

For the single line input box, it's being tracked in #16. I'm waiting on the authors of the library to work on the feature as my own attempts to do it haven't been successful. :(

@dustinblackman dustinblackman transferred this issue from dustinblackman/oatmeal.nvim Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants