News for hackers. Stuff that matters.
Re:Ask HN: Is there an equivalent of Cursor for Vim? by hboon on Monday January 27, 2025 @06:43PM (#42847186)
Aider, open source. It's not a vim plugin, but I use it with Neovim.

This particular feature which lets you write instructions/notes as code comments is most relevant https://aider.chat/docs/usage/watch.html

Re:Ask HN: Is there an equivalent of Cursor for Vim? by durumu on Monday January 27, 2025 @06:00PM (#42846790)
I doubt there is a service that bundles a bunch of API access for one subscription fee and works with vim. But there are a few plugins that provide cursor like functionality and let you bring your own API key. Avante and code-companion are the most widely used ones. Magenta.nvim looks promising.
Re:Ask HN: Is there an equivalent of Cursor for Vim? by diegoholiveira on Monday January 27, 2025 @05:13PM (#42846323)
I don't think there is something close to Cursor but I'm using `claude.vim` for almost an year and it's pretty good, imo.

https://github.com/pasky/claude.vim

Re:Ask HN: Is there an equivalent of Cursor for Vim? by francocalvo on Monday January 27, 2025 @11:51PM (#42848950)
Re:Ask HN: Is there an equivalent of Cursor for Vim? by wruza on Tuesday January 28, 2025 @12:26AM (#42849134)
A similar question, is there something cli-composable? Something like:

  $ codellm -root /path/to/root -prompt - -connect $addr
  <input>^D
  <output>
Then it would be trivial to adapt to anything, e.g. as :'<,'>!codellm<CR>

Man all these wrappers and proxies that do the same thing again and again only to bury the essence.

Re:Ask HN: Is there an equivalent of Cursor for Vim? by hiAndrewQuinn on Tuesday January 28, 2025 @01:59AM (#42849615)
I usually hear Avante mentioned in these discussions, which someone has already mentioned.

Back when I wrote https://github.com/hiAndrewQuinn/shell-bling-ubuntu LazyVim seemed to provide the simplest out of the box experience for getting Copilot up, but I'm not sure if it has continued going down that path.. It's been a minute since I've used it in anger. Maybe Lazy has already added Avante and I'm just not aware of it?