vimrc/sources_non_forked/copilot.vim
André Brandão e8333a46e3 Adding updates and my_configs 2025-03-04 12:23:40 -08:00
..
.github Updated plugins 2024-10-06 10:25:50 +02:00
autoload Adding updates and my_configs 2025-03-04 12:23:40 -08:00
dist Adding updates and my_configs 2025-03-04 12:23:40 -08:00
doc Updated plugins 2024-10-06 10:25:50 +02:00
lua Updated plugins 2024-10-06 10:25:50 +02:00
plugin Updated plugins 2024-10-06 10:25:50 +02:00
syntax Updated plugins 2024-10-06 10:25:50 +02:00
.gitattributes Added the copilot.vim to sources_non_forked 2024-01-07 16:15:48 +01:00
.gitignore Added the copilot.vim to sources_non_forked 2024-01-07 16:15:48 +01:00
LICENSE.md Added the copilot.vim to sources_non_forked 2024-01-07 16:15:48 +01:00
README.md Adding updates and my_configs 2025-03-04 12:23:40 -08:00
SECURITY.md Added the copilot.vim to sources_non_forked 2024-01-07 16:15:48 +01:00

README.md

GitHub Copilot for Vim and Neovim

GitHub Copilot is an AI pair programmer tool that helps you write code faster and smarter. Trained on billions of lines of public code, GitHub Copilot turns natural language prompts including comments and method names into coding suggestions across dozens of languages.

Copilot.vim is a Vim/Neovim plugin for GitHub Copilot.

To learn more, visit https://github.com/features/copilot.

Getting access to GitHub Copilot

To access GitHub Copilot, an active GitHub Copilot subscription is required. Sign up for GitHub Copilot Free, or request access from your enterprise admin.

Getting started

  1. Install Neovim or the latest patch of Vim (9.0.0185 or newer).

  2. Install Node.js.

  3. Install github/copilot.vim using vim-plug, packer.nvim, or any other plugin manager. Or to install manually, run one of the following commands:

    • Vim, Linux/macOS:

      git clone https://github.com/github/copilot.vim.git \
        ~/.vim/pack/github/start/copilot.vim
      
    • Neovim, Linux/macOS:

      git clone https://github.com/github/copilot.vim.git \
        ~/.config/nvim/pack/github/start/copilot.vim
      
    • Vim, Windows (PowerShell command):

      git clone https://github.com/github/copilot.vim.git `
        $HOME/vimfiles/pack/github/start/copilot.vim
      
    • Neovim, Windows (PowerShell command):

      git clone https://github.com/github/copilot.vim.git `
        $HOME/AppData/Local/nvim/pack/github/start/copilot.vim
      
  4. Start Vim/Neovim and invoke :Copilot setup.

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

Troubleshooting

Wed love to get your help in making GitHub Copilot better! If you have feedback or encounter any problems, please reach out on our Feedback forum.