Setting up NeoVim

Personal notes for me to remember how to set up neovim on a new remote machine.

First, Download the NeoVim AppImage.

curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage

Next, we need to make nvim globally accessible - either make a symlink or move the app image to /usr/bin/nvim

sudo mv nvim.appimage /usr/bin/nvim

Then, clone my latest config from GitHub to the nvim config folder

git clone https://github.com/VimalMollyn/NeoVim.git ~/.config/nvim

Make sure you have a relatively new version of node installed (I use node v17). Navigate to the plugins file and open it up in nvim. Plugins will start installing automagically!

nvim ~/home/.config/nvim/lua/user/plugins.lua

Enjoy!