What Is Codeium AI and How Does It Suggest Code?
Codeium AI explained in plain terms: how the assistant reads context, produces autocomplete and chat answers, where it fits beside other tools and its limits.
Read guide
Codeium GitHub repositories are the home of the editor plugins that are not distributed through a marketplace. Vim, Neovim and Emacs users install Codeium straight from these repositories, usually through a plugin manager they already use for everything else.
The repositories live under the Exafunction organization on GitHub, the company that originally built Codeium. Some have been renamed to match the Windsurf brand, but the old URLs redirect, so existing configurations keep working.
Three repositories cover most terminal and text-editor users. Each targets a different editor or plugin style, so choose based on how your editor is configured.
| Repository | Editor | Notes |
|---|---|---|
| Exafunction/codeium.vim | Vim and Neovim | Written in Vimscript; now also known as windsurf.vim |
| Exafunction/codeium.nvim | Neovim | Native Lua plugin; integrates with nvim-cmp; now windsurf.nvim |
| Exafunction/codeium.el | Emacs | Uses Emacs completion at point |
The codeium.vim repository is published under the MIT license. Check each repository's license file for its own terms before redistributing or modifying the code.
codeium.vim works in both Vim and Neovim and shows suggestions as virtual text, much like the VS Code extension. It needs Vim 9.0.0185 or later, or Neovim 0.6 or later.
Plug 'Exafunction/codeium.vim', { 'branch': 'main' }Plugin 'Exafunction/codeium.vim'use 'Exafunction/codeium.vim'pack/*/start directory.After installing, run :Codeium Auth, sign in through the link it prints and paste the token back. The Codeium login guide helps if the token step fails on a remote machine.
By default, Tab accepts a suggestion, Alt+] and Alt+[ cycle through alternatives, and Ctrl+] clears the current suggestion. You can switch off the default bindings with g:codeium_disable_bindings and map your own using functions such as codeium#Accept().
The :Codeium Enable, :Codeium Disable and :Codeium Toggle commands control suggestions for the current session. To skip certain file types permanently, set the g:codeium_filetypes dictionary in your configuration.
codeium.nvim is a native Lua plugin for Neovim. Instead of virtual text, it feeds suggestions into nvim-cmp, so they appear in the same completion menu as your language server results.
It depends on nvim-lua/plenary.nvim and hrsh7th/nvim-cmp. With lazy.nvim, add a spec that lists those dependencies and calls require("codeium").setup({}) in its config function, then add codeium as a source in your nvim-cmp sources list.
:Codeium Auth handles sign-in, :Codeium Chat opens the chat interface in your browser, and :Codeium Toggle turns completions on or off. Run :checkhealth after setup if something looks wrong; missing dependencies are the usual cause.
Emacs users install codeium.el from GitHub, typically with straight.el, use-package with a VC source, or by cloning the repository onto the load path. The package hooks into completion-at-point, so suggestions show up through the completion framework you already use, such as Company or Corfu.
After loading the package, run its install command to fetch the language server, then authenticate with your account. The repository README lists the exact use-package form and the variables for tuning when completions trigger.
A few variables cover most customization needs. Set them in your vimrc or init.vim before the plugin loads.
| Variable | What it controls |
|---|---|
| g:codeium_enabled | Turns suggestions on or off globally at startup |
| g:codeium_disable_bindings | Removes the default key mappings so you can define your own |
| g:codeium_filetypes | Enables or disables Codeium per file type |
| g:codeium_manual | Shows suggestions only when you trigger them |
The plugin also exposes a status string you can add to your statusline, and vim-airline supports it out of the box. Seeing the status at a glance makes it obvious when suggestions are paused or waiting for authentication.
Neovim users can pick either plugin, and the decision mostly comes down to taste. The comparison below highlights the practical differences.
| Question | codeium.vim | codeium.nvim |
|---|---|---|
| How suggestions look | Grey virtual text after the cursor | Entries in the nvim-cmp menu |
| Extra dependencies | None | plenary.nvim and nvim-cmp |
| Best fit | Copilot-style inline flow | Users already built around nvim-cmp |
Avoid running both at once. Two Codeium clients in the same editor can produce duplicate suggestions and confusing keybinding conflicts.
If you switch from one to the other, remove the old plugin from your plugin manager first, restart Neovim and then authenticate again. The token from the previous plugin is usually reused, but a fresh :Codeium Auth rules out stale configuration.
The repositories accept issues and pull requests. Before opening an issue, search existing ones, update the plugin and include your editor version, operating system and the output of any health check.
For problems with the AI service itself rather than the plugin code, such as account or plan questions, the support channels on the official website are a better route than a GitHub issue.
Plugin managers update Codeium along with everything else. Run :PlugUpdate, :PackerSync or :Lazy update regularly, because the plugin also refreshes its language server when a new version is required.
If suggestions stop after a long break, update first, then run :Codeium Auth again only if the status shows you are signed out.
No. The editor plugins on GitHub are open source clients, but the language server binary and the models behind the service are not published as source code.
Yes. GitHub redirects renamed repositories, so configurations that reference Exafunction/codeium.vim continue to install correctly.
No. Every plugin needs a signed-in account to request suggestions. The plugin code installs without one, but completions only start after :Codeium Auth.
Codeium GitHub repositories give Vim, Neovim and Emacs users the same AI autocomplete that marketplace editors get. Install codeium.vim for inline ghost text, codeium.nvim for an nvim-cmp workflow, or codeium.el for Emacs, then authenticate once.
Keep the plugin updated through your plugin manager and review the configuration variables to fit your keymaps. For other editors, the Codeium download guide lists every install route.