# codeium-vim
**Repository Path**: tzthomas/codeium-vim
## Basic Information
- **Project Name**: codeium-vim
- **Description**: codeium.vim 是适用于 Vim 和 Neovim 的 AI 编程助手,可作为 GitHub Copilot 的免费替代方案
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: https://www.oschina.net/p/codeium-vim
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2023-06-07
- **Last Updated**: 2023-06-07
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
---
[](https://discord.gg/3XFf78nAx5)
[](https://twitter.com/intent/follow?screen_name=codeiumdev)

[](https://marketplace.visualstudio.com/items?itemName=Codeium.codeium)
[](https://plugins.jetbrains.com/plugin/20540-codeium/)
[](https://open-vsx.org/extension/Codeium/codeium)
[](https://chrome.google.com/webstore/detail/codeium/hobjkcpmjhlegmobgonaagepfckjkceh)
# codeium.vim
_Free, ultrafast Copilot alternative for Vim and Neovim_
Codeium autocompletes your code with AI in all major IDEs. We [launched](https://www.codeium.com/blog/codeium-copilot-alternative-in-vim) this implementation of the Codeium plugin for Vim and Neovim to bring this modern coding superpower to more developers. Check out our [playground](https://www.codeium.com/playground) if you want to quickly try out Codeium online.
Contributions are welcome! Feel free to submit pull requests and issues related to the plugin.

## 🚀 Getting started
1. Install [Vim](https://github.com/vim/vim) (at least 9.0.0185) or [Neovim](https://github.com/neovim/neovim/releases/latest) (at
least 0.6)
2. Install `Exafunction/codeium.vim` using your vim plugin manager of
choice, or manually. See [Installation Options](#-installation-options) below.
3. Run `:Codeium Auth` to set up the plugin and start using Codeium.
You can run `:help codeium` for a full list of commands and configuration
options, or see [this guide](https://www.codeium.com/vim_tutorial) for a quick tutorial on how to use Codeium.
## 🛠️ Configuration
For a full list of configuration options you can run `:help codeium`.
A few of the most popular options are highlighted below.
### ⌨️ Keybindings
Codeium provides the following functions to control suggestions:
|Action|Function|Default Binding|
|---|---|---|
|Clear current suggestion| `codeium#Clear()` |``|
|Next suggestion| `codeium#CycleCompletions(1)` |``|
|Previous suggestion| `codeium#CycleCompletions(-1)` |``|
|Insert suggestion| `codeium#Accept()` |``|
|Manually trigger suggestion| `codeium#Complete()` |``|
Codeium's default keybindings can be disabled by setting
```vim
let g:codeium_disable_bindings = 1
```
or in Neovim:
```vim
vim.g.codeium_disable_bindings = 1
```
If you'd like to just disable the `` binding, you can alternatively
use the `g:codeium_no_map_tab` option.
If you'd like to bind the actions above to different keys, this might look something like the following in Vim:
```vim
imap