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: visual selection appended in chat #441

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dqnk
Copy link

@dqnk dqnk commented May 19, 2024

This pull request makes visual selection appended to default chat (:ChatGPT) to save time on keystrokes and because other commands (such as ChatGPTEditWithInstructions) do not store sessions. You can append multiple times without having your text in chat input window deleted.

Usage:

  1. go in any of the visual modes and select the text you want inserted.
  2. Run ChatGPT from a keybind mapped to <cmd>ChatGPT<cr> (else this won't work properly because of how visual selection works).

@dqnk dqnk force-pushed the main branch 4 times, most recently from 1aa48d5 to b7cbabf Compare May 19, 2024 09:47
@dqnk dqnk marked this pull request as ready for review May 19, 2024 09:49
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