mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak
Press the "Use this template" button above to create a new repository to store your user configuration.
You can also just clone this repository directly if you do not want to track your user configuration in GitHub.
git clone https://github.com/<your_user>/<your_repository> ~/.config/nvim
nvim
This template works together with rust.
For it, you have to have rust installed.
You also should have rust-analyzer installed: rustup component add rust-analyzer