Giter VIP home page Giter VIP logo

copilot.vim's Introduction

Copilot.vim

GitHub Copilot uses OpenAI Codex to suggest code and entire functions in real-time right from your editor. 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.

Subscription

GitHub Copilot requires a subscription. It is free for verified students and maintainers of popular open source projects on GitHub.

GitHub Copilot is subject to the GitHub Additional Product Terms.

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

We’d 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.

copilot.vim's People

Contributors

tpope avatar djensenius avatar mtaran avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.