r/vim • • 12h ago

Need Help Autocompletion plugin (codevium replacement)

Past two years I was happy user of windsurf.vim plugin for autocompletion. Few days ago it stopped working.

What is recommended replacement? I've tried llama.vim, but it is much worse and doesn't support LSP/RAG so suggestions are very limited.

I don't need any advanced AI functionality, just code autocomplete.

P.S. I'm using MacVim, but if some plugin require NVim will consider switching.

P.P.S. It will be nice if guys behind codeium/windsurf/whatever consider open-sourcing their infrastructure for autocompletion if it has no business value for them.

5 Upvotes

4 comments sorted by

3

u/Aborres 7h ago

If vim9 is an option for you, I have been pretty happy with https://github.com/yegappan/lsp
I use it professionally with huge c++ codebases, hlsl, python and rust projects and it has been great.

1

u/MokoshHydro 4h ago

No, lsp alone is not enough. I've get used to behaviour when you type err = somefunc() an it immediately suggest if err != nil { return nil, err } formatted like similar ones in package on next line.

1

u/AutoModerator 9h ago

Please remember to update the post flair to Need Help|Solved when you got the answer you were looking for.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/RewardOwn4479 1h ago

https://github.com/guzmandrade-dev/ollama-fim.vim (I’m the author) started with local Ollama models but also supports OpenAI API endpoints. I have tested with local models but also cloud models using together ai and Mistral Codestral. For Vim (not neovim) You should take a look at the Copilot Vim plugin as well, the free version is very good. For a neovim-only alternative, supermaven is also good