This config requires Neovim v0.8.0. Please upgrade if you're on an earlier version of the editor.
Clone the repository into the correct location (make a backup your current nvim
directory if you want to keep it).
git clone https://github.com/GiangHoang9912/dot-config.git ~/.config/nvim
Open nvim
and enter the following:
:checkhealth
You'll probably notice you don't have support for copy/paste also that python and node haven't been setup
So let's fix that
First we'll fix copy/paste
-
On mac
pbcopy
should be builtin -
On Ubuntu
sudo apt install xsel
-
On Arch Linux
sudo pacman -S xsel
-
Wayland users
Next we need to install python support (node is optional)
-
Neovim python support
pip install pynvim
-
Neovim node support
npm i -g neovim
NOTE make sure you have node installed, I recommend a node manager like fnm.
Assuming you built from source, cd
into the folder where you cloned neovim
and run the following commands.
git pull
make distclean && make CMAKE_BUILD_TYPE=Release
git checkout v0.8.0
sudo make install
nvim -v