Get AI-powered inline code suggestions as you write in Vim or Neovim across any programming language.
Accept full function or block completions with a single Tab key press without leaving the editor.
Connect Vim or Neovim to GitHub Copilot on Linux, macOS, or Windows through a standard plugin manager.
Requires a GitHub Copilot subscription (free tier available) and Node.js installed on your machine.
Copilot.vim is an official plugin that brings GitHub Copilot into the Vim and Neovim text editors. GitHub Copilot is an AI coding assistant that watches what you type and suggests completions, ranging from single lines to entire functions. It was trained on a large amount of publicly available code and can produce suggestions in many programming languages. To use it, you need a GitHub Copilot subscription (a free tier is available), a recent version of Vim or Neovim, and Node.js installed on your machine. Installation is done through any standard Vim plugin manager, or manually by cloning the repository into your editor's plugin folder. After that, running the setup command from inside the editor connects it to your GitHub account. Once active, suggestions appear inline as you type and can be accepted by pressing the tab key. The plugin works on Linux, macOS, and Windows. Further help and configuration options are available through the editor's built-in help system by running the help command for copilot.
← github on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.