frankroeder / parrot.nvim

parrot.nvim 🦜 - the plugin that brings stochastic parrots to Neovim. This is a gp.nvim-fork focused on simplicity.
Other
219 stars 14 forks source link

Add PrtChatPaste support #14

Closed quolpr closed 2 months ago

quolpr commented 2 months ago

Hi! Migration from gp.nvim, and I use PrtChatPaste a lot. Could parrot implement this?

frankroeder commented 2 months ago

Hi @quolpr, I removed ChatPaste because you can do the same thing by simple calling PrtChatToggle or PrtChatNew with a visual selection. Or am I missing something?

quolpr commented 2 months ago

@frankroeder the usecase is such:

  1. I open new chat in popup. Chat there
  2. Then realize that I need to add more context to chat, so I close it.
  3. Find needed code, visualise it, paste with PrtChatPaste to the current chat

So, I don't need to yank the visualise, it's just directly go to chat

frankroeder commented 2 months ago

@quolpr I see, it is pasted into the last.md chat.

frankroeder commented 2 months ago

Sorry @quolpr, I overlook that particular use-case. However, it is back with commit 20232e3292577b93168f5c781c0bd021e4bcc3bc on main.