paulkass / copilot.vim

Neovim plugin for GitHub Copilot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copilot.vim

GitHub Copilot is an AI pair programmer which suggests line completions and entire function bodies as you type. GitHub Copilot is powered by the OpenAI Codex AI system, trained on public Internet text and billions of lines of code.

Copilot.vim is a Vim plugin for GitHub Copilot. For now, it requires Neovim 0.6 (for virtual lines support) and a Node.js installation.

To learn more about GitHub Copilot, visit https://copilot.github.com.

Technical Preview

Access to GitHub Copilot is limited to a small group of testers during the technical preview of GitHub Copilot. If you don’t have access to the technical preview, you will see an error when you try to use this extension.

Don’t have access yet? Sign up for the waitlist for your chance to try it out. GitHub will notify you once you have access.

This technical preview is a Beta Preview under the GitHub Terms of Service.

Getting started

  1. Install Node.js 12 or newer.

  2. Install Neovim 0.6 or newer.

  3. Install github/copilot.vim using vim-plug, packer.nvim, or any other plugin manager. Or to install directly:

    git clone https://github.com/github/copilot.vim.git \
      ~/.config/nvim/pack/github/start/copilot.vim
    
  4. Start Neovim and invoke :Copilot setup.

Suggestions are displayed inline and can be accepted by pressing the tab key. See :help copilot for more information.

Limitations

Copilot.vim does not yet support opening the GitHub Copilot panel on Ctrl+Enter.

About

Neovim plugin for GitHub Copilot

License:Other


Languages

Language:Vim Script 100.0%