My Neovim configurations, made for cross machine/OS portability
-
Clone this repo at
-
Linus/macOS
git clone git@github.com:Xiaorui-Huang/nvim.git ~/.config/nvim
-
Windows
git clone git@github.com:Xiaorui-Huang/nvim.git $HOME/AppData/Local/nvim
-
-
Install Packer via provided script or at https://github.com/wbthomason/packer.nvim
-
Open
lua/plugins.lua
withnvim
-
Souce the file with
:source
or:so
-
Run
:PackerSync
within Neovim
Note: plugin nvim-treesitter
requires at least the latest stable Neovim
Follow instructions here https://github.com/github/copilot.vim
-
Install Node.js 16.x or above - for Debian
brew install node
-
clone the copilot repo - for Debian
git clone https://github.com/github/copilot.vim.git \ ~/.config/nvim/pack/github/start/copilot.vim
-
Run
:Copilot setup
within Neovim