From 056ef263db480b4e1dde3486a1fe76b66825ea81 Mon Sep 17 00:00:00 2001 From: whitney Date: Wed, 20 Nov 2024 16:14:38 -0800 Subject: [PATCH] Update README --- lazyvim/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lazyvim/README.md b/lazyvim/README.md index e863652..564fb8a 100644 --- a/lazyvim/README.md +++ b/lazyvim/README.md @@ -35,6 +35,20 @@ ln -sfn /path/to/dotfiles/lazyvim/init.lua ~/.config/nvim/init.lua ``` 5. Start nvim, and let all the packages install. Done! +## Reinstallation +Sometimes you gotta uninstall and reinstall, here are all the steps in one convenient place: +``` +sudo apt remove neovim +sudo rm -r ~/.local/share/nvim/ +sudo rm -r ~/.config/nvim +sudo apt install neovim + +mkdir ~/.config/nvim +ln -sfn /path/to/dotfiles/lazyvim/stylua.toml ~/.config/nvim/stylua.toml +ln -sfn /path/to/dotfiles/lazyvim/lua ~/.config/nvim/lua +ln -sfn /path/to/dotfiles/lazyvim/init.lua ~/.config/nvim/init.lua +``` + ## Reminders If uninstalling, you need to manually get rid of stuff in `~/.local/share/nvim` before reinstalling everything.