vim

James Amberger 2025-02-17T15:57:35.058819Z

I got a ChatGPT subscription. Which neovim plugin should I be using to converse with it?

perrygeo 2025-02-19T23:06:12.694199Z

Not sure if you're still looking but CodeCompanion is a nice tool allowing API and local LLMs, nicely integrated with neovim. https://github.com/olimorris/codecompanion.nvim

👍 1
James Amberger 2025-02-20T18:04:52.060919Z

Thanks @perrygeo; that might be the one I try out first.

James Amberger 2025-08-16T14:51:18.378819Z

@chris358 I saw your video on the subject and started using --watch-files as you describe, and like you say: now I’m not sure I need a plugin at all

🎉 1
Chris McCormick 2025-08-17T02:11:49.383599Z

I under use this feature myself. Always forget to add --watch-files. Hmm, I wonder if I can add it to .aider.conf.yml 🤔

martinklepsch 2025-02-17T16:16:51.363259Z

I don’t think any plugin will use your subscription. Instead you’ll need an API key. I’ve read avante.nvim is pretty good

Martynas MaciuleviÄŤius 2025-02-17T16:19:15.417309Z

subscription -> api key -> plugin asks for api key Easy enough.

martinklepsch 2025-02-17T16:37:56.142519Z

Probably worth noting in this context that most coding assistants currently use Claude sonnet, so you’ll need an Anthropic API Key as well

James Amberger 2025-02-17T18:32:12.837419Z

Thank you. I’m first interested in just conversing and yeah my subscription lets me generate api keys. I’ll check out coding assistance next.

Chris McCormick 2025-08-16T04:50:47.669669Z

Late to this party but aider has a --watch flag which works well with vim. When you save a file if you have written a comment like:

; memoize this function AI!
It picks up on the AI! and executes your request. It's a nice lightweight way of getting AI dev into your workflow without a specific plugin.