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