From cfc8dc7419d543e9a3f07bd0742b2cb33f45671c Mon Sep 17 00:00:00 2001 From: Sammy Hori Date: Fri, 12 Jul 2024 22:17:30 +0100 Subject: [PATCH] Update installing-the-github-copilot-extension-in-your-environment.md Switched the Neovim and Vim install instructions around. This is as: - If someone was installing copilot on Neovim, they would reasonably come across the vim section, follow the instructions and then realise, as they scroll down, they did it incorrectly, - On the other hand, if someone was installing it on vim, they would be much less likely to read the Neovim part and believe it was for them. To further emphasise the difference between the sections, as they are hard to tell apart, I put vim and neovim in italics in the subheadings. --- ...thub-copilot-extension-in-your-environment.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md b/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md index 072426e16755..2cdd1ac609b1 100644 --- a/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md +++ b/content/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment.md @@ -100,32 +100,32 @@ To see instructions for other popular coding environments, use the tool switcher 1. Install {% data variables.product.prodname_copilot %} using the built-in plugin manager: - * For **Vim on macOS or Linux**, run the following command in the terminal. + * For **_Neovim_ on macOS or Linux**, run the following command in the terminal. ```shell copy git clone https://github.com/github/copilot.vim \ - ~/.vim/pack/github/start/copilot.vim + ~/.config/nvim/pack/github/start/copilot.vim ``` - * For **Vim on Windows**, run the following command in Git Bash: + * For **_Neovim_ on Windows**, run the following command in Git Bash: ```shell copy git clone https://github.com/github/copilot.vim.git \ - $HOME/vimfiles/pack/github/start/copilot.vim + $HOME/AppData/Local/nvim/pack/github/start/copilot.vim ``` - * For **Neovim on macOS or Linux**, run the following command in the terminal. + * For **_Vim_ on macOS or Linux**, run the following command in the terminal. ```shell copy git clone https://github.com/github/copilot.vim \ - ~/.config/nvim/pack/github/start/copilot.vim + ~/.vim/pack/github/start/copilot.vim ``` - * For **Neovim on Windows**, run the following command in Git Bash: + * For **_Vim_ on Windows**, run the following command in Git Bash: ```shell copy git clone https://github.com/github/copilot.vim.git \ - $HOME/AppData/Local/nvim/pack/github/start/copilot.vim + $HOME/vimfiles/pack/github/start/copilot.vim ``` {% data reusables.copilot.config-enable-copilot-in-vimneovim %}