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

Feature request: setup an undo-boundary #235

Open
jwr opened this issue Mar 7, 2024 · 3 comments
Open

Feature request: setup an undo-boundary #235

jwr opened this issue Mar 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@jwr
Copy link

jwr commented Mar 7, 2024

When generating text into a buffer, it would be great if gptel could setup an (undo-boundary), so that one can easily use undo to remove everything that was generated into that buffer.

I'm not submitting a pull request, since this is likely a very small modification and the overhead would probably be bigger than just adding that line of code :-)

Thank you for writing this great tool. It's more useful than every LLM-interfacing Mac app I've tried!

@karthink
Copy link
Owner

karthink commented Mar 7, 2024

@jwr I originally planned to but it in my testing it did the right thing when undoing anyway - undid everything in one step. Is this not the case for you?

@jwr
Copy link
Author

jwr commented Mar 7, 2024

No, for me the undo requires several steps. I just tried with ollama-generated text in a buffer and I had to undo three times to remove all of it.

@karthink
Copy link
Owner

karthink commented Mar 7, 2024

Thanks, I'll add an undo boundary. I think I need some longer transcripts for running tests!

@karthink karthink added the enhancement New feature or request label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants