Make a backup of your current Neovim files:
# required
mv ~/.config/nvim{,.bak}
# optional but recommended
mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak}
- clone the repository
git clone https://github.com/tianpai/nvimConfig ~/.config/nvim
- remove .git file
rm -rf ~/.config/nvim/.git
- start nvim and install plugins
nvim