Hacker News new | ask | show | jobs
by toisanji 508 days ago
I use cursor and vim now. I have been on vim for 15+ years. Are there LLM extensions that make vim work like all these new AI editors? I would prefer to stay in 100% vim world, but the productivity benefits from LLMs with composer mode and context is so powerful.
8 comments

Avante is much more active and polished at this point, but there's alternatives:

https://github.com/baketnk/l.nvim (self-shill, docs overhaul needed)

which was inspired by the original:

https://github.com/yacineMTB/dingllm.nvim

Also brand new from ggerganov: https://github.com/ggml-org/llama.vim

dingllm is very straightforward, you submit your entire selection/buffer and it streams out to the current position. mine is a bit more complex with configurations, context management and so on.

The thing I always tell people is just roll your own. The docs are there, the LLM is there, use them. At the end of the day it's just an http call against text from your buffer to put text in a buffer.

also RAG implementation, and the apply code feature of cursor..
Still early days, but something to watch.

https://github.com/yetone/avante.nvim

If you want something like composer but want to stay fully FOSS/CLI oriented, check out https://github.com/ai-christianson/RA.Aid
I’ve been pretty happy with aider. I have it running in a separate tmux window and can switch between it and nvim easily.
Copilot has a vim extension that works quite nicely, but doesn't do all the things that cursor does.
I use Neovim with Copilot assistant plugins all the time for work
I switched from this to TabNine. I was impressed that, with multiple buffers open, it seems to synthesize the right three-way merges.
What is cursor in this context? A vim plugin?
If they’re talking about the Cursor I’m familiar with, it is “The AI Editor”. Basically it’s a fork of vscode with LLMs built in

https://www.cursor.com/

codecompanion.nvim is pretty cool.