92

Augment.vim: AI Chat and completion in Vim and Neovim

I actively use Avante.nvim: https://github.com/yetone/avante.nvim

Why I like Avante over others?

1. Active development. @Yetone, the creator, is very transparent and active.

2. Supports almost all the models. Add your API key for whatever you want to use.

3. The prompts are very well optimised. Plus the team keeps improving them.

4. The code `diffs` very well handled. It is easy to `apply` changes.

5. Support for `@file` feature (select multiple files) has made it 5x more powerful.

6. Very transparent. We can see what we are doing. Very less "magic".

7. It runs on demand: no auto-suggestion magic.

3 days agopratyushmittal

I've used it a ton too and it feels quite polished. Lately I've seen codecompanion.nvim[1] around a lot and been wondering if someone has tried both, are there differences between these two in actual use that would make other one worth trying over the another?

[1] https://github.com/olimorris/codecompanion.nvim

3 days agobayesianbot

I have tried to look into avante, but settled on codecompanion:

* codecompanion supports passing buffers, lsp and more. That seems to be really helpful when generating response.

* IMHO, codecompanion is more vimish (if that's the word)...

* Officially avante supports less models

* I have contributed to codocompanion GitHub models support (https://docs.github.com/en/github-models) so you can use some models basically for free with some limits and this is more than enough for daily usage from my experience (caveat that GitHub models are limited to 4000-8000 tokens so if that's problem for you then don't use it). I see avante does not support GitHub models.

3 days agodaliusd

I'm using Avante daily for several months and it is great but kot without it's quirks. Thanks for sharing - I will be testing this companion because it seems like a nicer DX with the @agent and #context mentions

3 days agojumski

I liked using Avante but unfortunately they seem to be favouring Claude primarily, and their Copilot implementation has issues to the point of printing warning messages. That's fine since it's their project; it just makes it less useful for my particular use case.

3 days agochrysoprace

This is what I was hoping for when I saw this post! I hate to admit it, but I've recently switched to cursor as nvim experience without ai feels really slow now. Definitely going to try this!

3 days agomifydev

Give zed a try! I only use zed(+aider when I'm procrastinating) nowadays.

3 days agoramon156

Avante also has @quickfix (push quick fix list into the context) and my change to add @buffers (add open buffers to the context) was merged this morning.

3 days agonickdichev

Does this support Vim or is this just a neovim plugin?

3 days agomempko

Doesn't look like it supports vim. It seems to be using a bunch of neovim only features

3 days agoporridgeraisin

It's sad that neovim split the community like this. Now efforts are split.

2 days agomempko

Neovim is fully backwards compatible, no? I'm not sure what the downside of switching is.

2 days agodurumu

Many of us are extremely happy. Lua is much better to work with than vimscript for many of us.

2 days agocolordrops

Vim already had lua support no?

2 days agomempko
[deleted]
3 days ago

My current dev setup is neovim + cursor. I'd love for it to one-day just be neovim (i.e. cursor's capabilities built into neovim). Seems that's getting closer. The 'Composer' feature is Cursor's 'Killer App' - the ability to instruct the LLM (which is context-aware) and have it generate the files/edits necessary, and be a bit 'agentic' (in that it self-critiques, occasionally backtracks, and does what a mid level dev would do in a day or two in 20 seconds).

3 days agonomilk

codecompanion.nvim has some agentic stuff. I don't know if that's at the same level as cursor (I guess not), but it can do some things already.

3 days agodaliusd

"Custom proprietary license" pretty much guarantees nobody will use your thing.

3 days agoein0p

how is it different than llama-vim, minuet, code companion, codeium, copilot, and several other similar plugins?

3 days agobehnamoh

It looks like it integrates directly with the Augment service [1] (and it's made by them). It sounds like Augment is some kind of a bespoke coding assistant that also does various RAG things to automatically get better context on large codebases.

Never tried it so no idea how good it is.

1: https://www.augmentcode.com/blog/augment-code-vim-and-neovim...

3 days agoreissbaker

Thanks for explanation. From that Github page it's not clear at all what models/service they use for autocompletion.

3 days agodivan

I would love some survey document or something that goes over all the options for these kinds of vim extensions.

It's very easy to end up in a deep rabbit hole when I tried to figure out the "one best" way.

3 days agodimator

that survey would be outdated in a week, given how fast AI and neovim extensions evolve.

3 days agobehnamoh

Is there some plugin that works like copilot with an inline suggestions, but using your api key? I don’t need the side panel, I use aider for that.

3 days agomstipetic

Github copilot supports neovim

3 days agomaouida

can it help me close the editor though

3 days agosingularity2001

Maybe you can find a way to crash vim using that addon. That would close the editor.

3 days agoaskl

Build an AI agent for that :D