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

feat: Add insert_after_selection and display_insert_after_selection actions #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cheriimoya
Copy link

Currently, executing a prompt with the insert action with multiple lines, the generated content will be inserted after the first selected line.
This change allows ollama answers to be inserted after the previously made selection.
This is helpful for e.g. rewriting text and still being able to check the differences.

…n` actions

This allows ollama answers to be inserted after the previously made
selection. This is helpful for e.g. rewriting text and still being able
to check the differences.
@cheriimoya
Copy link
Author

Maybe, this change can somehow be modified to also allow for insertions BEFORE the current line to summarize a selection (e.g. a function) into something that gets put above the current cursor line (e.g. a comment describing that function).

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

Successfully merging this pull request may close these issues.

1 participant