ChatGPT.nvim icon indicating copy to clipboard operation
ChatGPT.nvim copied to clipboard

feat: visual selection appended in chat

Open dqnk opened this issue 1 year ago • 0 comments

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 avatar May 19 '24 09:05 dqnk