David-Kunz / gen.nvim

Neovim plugin to generate text using LLMs with customizable prompts
The Unlicense
1.15k stars 92 forks source link

Feat: Allow to compare with current buffer #37

Closed zippeurfou closed 10 months ago

zippeurfou commented 10 months ago

Hey there, It would be great to be able to compare the new output when we generate code with the previous when when text is selected. At a high level it could be an interface similar to vim fugitive: image It does not need to be as complex but I think this would help where we can decide if we want to accept some / all the chunk and compare with what we had. Best,

David-Kunz commented 10 months ago

Hi @zippeurfou ,

Thank you for this suggestion. It's a duplicate of https://github.com/David-Kunz/gen.nvim/issues/18, let's move the discussion there.