Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Copilot in Neovim #135

Open
1 task
irthomasthomas opened this issue Dec 4, 2023 · 0 comments
Open
1 task

GitHub Copilot in Neovim #135

irthomasthomas opened this issue Dec 4, 2023 · 0 comments
Labels
Automation Automate the things github gh tools like cli, Actions, Issues, Pages llm Large Language Models man-pages linux man pages unclassified Choose this if none of the other labels (bar New Label) fit the content.

Comments

@irthomasthomas
Copy link
Owner

Quote Installing the GitHub Copilot extension in Vim/Neovim on Windows

GitHub recommends that you install the GitHub Copilot plugin with Vim/Neovim's built-in plugin manager. Alternatively, you can use a plugin manager of your choice to install github/copilot.vim.
To install GitHub Copilot with Vim's built-in plugin manager, enter the following command in Git Bash:
git clone https://github.com/github/copilot.vim.git
$HOME/vimfiles/pack/github/start/copilot.vim
To install GitHub Copilot with Neovim's built-in plugin manager, enter the following command in Git Bash:
git clone https://github.com/github/copilot.vim.git
$HOME/AppData/Local/nvim/pack/github/start/copilot.vim
To configure GitHub Copilot, open Vim/Neovim and enter the following command.
:Copilot setup
Enable GitHub Copilot in your Vim/Neovim configuration, or with the Vim/Neovim command.
:Copilot enable
Installing the GitHub Copilot extension in Vim/Neovim on Linux

GitHub recommends that you install the GitHub Copilot plugin with Vim/Neovim's built-in plugin manager. Alternatively, you can use a plugin manager of your choice to install github/copilot.vim.
To install GitHub Copilot with Vim's built-in plugin manager, enter the following command:
git clone https://github.com/github/copilot.vim
~/.vim/pack/github/start/copilot.vim
To install GitHub Copilot with Neovim's built-in plugin manager, enter the following command:
git clone https://github.com/github/copilot.vim
~/.config/nvim/pack/github/start/copilot.vim
To configure GitHub Copilot, open Vim/Neovim and enter the following command.
:Copilot setup
Enable GitHub Copilot in your Vim/Neovim configuration, or with the Vim/Neovim command.
:Copilot enable
Learning to use GitHub Copilot in Vim/Neovim

For guidance on using GitHub Copilot in Vim/Neovim, you can view the plugin documentation. To see the documentation, open Vim/Neovim and run the following command:

:help copilot
Next steps

You successfully installed GitHub Copilot and received your first suggestion, but that's just the beginning! Here are some helpful resources for taking your next steps with GitHub Copilot.

GitHub Copilot: See practical examples of how GitHub Copilot can help you work.
Configuring GitHub Copilot: These guides provide details on how to configure GitHub Copilot to your personal preferences.
Managing billing for GitHub Copilot: Learn more about billing for GitHub Copilot.
Troubleshooting GitHub Copilot: These guides provide information for troubleshooting GitHub Copilot.
Further reading

The GitHub Copilot website
About GitHub Copilot Individual
Press alt+up to activate

</details>
@irthomasthomas irthomasthomas added inbox-url unclassified Choose this if none of the other labels (bar New Label) fit the content. man-pages linux man pages github gh tools like cli, Actions, Issues, Pages llm Large Language Models Automation Automate the things labels Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation Automate the things github gh tools like cli, Actions, Issues, Pages llm Large Language Models man-pages linux man pages unclassified Choose this if none of the other labels (bar New Label) fit the content.
Projects
None yet
Development

No branches or pull requests

1 participant