#!/usr/bin/env bash # 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 starter - this has a lot of plugins # it may be better to start with a blank nvim.conf # and work up, learning each as you go. git clone https://github.com/LazyVim/starter ~/.config/nvim # Remove the .git folder, so you can add it to your own repo later rm -rf ~/.config/nvim/.git