Codeium GitHub Repositories for Vim, Neovim and Emacs

Terminal cloning the Exafunction codeium.vim repository and a Neovim config for codeium.nvim

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.

The Main Repositories

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.

RepositoryEditorNotes
Exafunction/codeium.vimVim and NeovimWritten in Vimscript; now also known as windsurf.vim
Exafunction/codeium.nvimNeovimNative Lua plugin; integrates with nvim-cmp; now windsurf.nvim
Exafunction/codeium.elEmacsUses 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.

Installing codeium.vim

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.

  • vim-plug: Plug 'Exafunction/codeium.vim', { 'branch': 'main' }
  • Vundle: Plugin 'Exafunction/codeium.vim'
  • packer.nvim: use 'Exafunction/codeium.vim'
  • Manual: clone the repository into your editor's 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.

Default Keys and Commands

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.

Installing codeium.nvim

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.

Commands in codeium.nvim

: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.

Installing codeium.el for Emacs

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.

Useful codeium.vim Settings

A few variables cover most customization needs. Set them in your vimrc or init.vim before the plugin loads.

VariableWhat it controls
g:codeium_enabledTurns suggestions on or off globally at startup
g:codeium_disable_bindingsRemoves the default key mappings so you can define your own
g:codeium_filetypesEnables or disables Codeium per file type
g:codeium_manualShows 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.

Choosing Between the Two Neovim Options

Neovim users can pick either plugin, and the decision mostly comes down to taste. The comparison below highlights the practical differences.

Questioncodeium.vimcodeium.nvim
How suggestions lookGrey virtual text after the cursorEntries in the nvim-cmp menu
Extra dependenciesNoneplenary.nvim and nvim-cmp
Best fitCopilot-style inline flowUsers 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.

Switching Between Them

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.

Contributing and Reporting Issues

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.

Keeping the Plugins Updated

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.

Frequently Asked Questions

Is the Codeium AI model open source?

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.

Do the old codeium.vim URLs still work?

Yes. GitHub redirects renamed repositories, so configurations that reference Exafunction/codeium.vim continue to install correctly.

Can I use these plugins without an account?

No. Every plugin needs a signed-in account to request suggestions. The plugin code installs without one, but completions only start after :Codeium Auth.

Conclusion

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.