mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
Improve commands in README (#392)
* Suggest removing only Packer directory in README * Adjust more commands * Delete `~/.local/share/nvim/site`
This commit is contained in:
parent
08dcd44c5c
commit
4ebdcac7fa
1 changed files with 9 additions and 10 deletions
19
README.md
19
README.md
|
@ -121,13 +121,12 @@ sudo pacman -S base-devel cmake unzip ninja tree-sitter
|
||||||
Download and compile Neovim
|
Download and compile Neovim
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
cd ~
|
cd $(mktemp -d)
|
||||||
sudo rm -r neovim
|
git clone https://github.com/neovim/neovim --depth 1
|
||||||
git clone https://github.com/neovim/neovim
|
|
||||||
cd neovim
|
cd neovim
|
||||||
sudo make CMAKE_BUILD_TYPE=Release install
|
sudo make CMAKE_BUILD_TYPE=Release install
|
||||||
cd ~
|
cd ..
|
||||||
sudo rm -r neovim
|
rm -rf neovim
|
||||||
```
|
```
|
||||||
|
|
||||||
or if you are on Arch you can get it from the AUR
|
or if you are on Arch you can get it from the AUR
|
||||||
|
@ -252,7 +251,7 @@ If you get an error message about missing plugins and the above commands
|
||||||
do not work, remove the plugin directory and reinstall from scratch.
|
do not work, remove the plugin directory and reinstall from scratch.
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
sudo rm -R ~/.local/share/nvim
|
rm -rf ~/.local/share/nvim/site
|
||||||
:PackerCompile
|
:PackerCompile
|
||||||
:PackerInstall
|
:PackerInstall
|
||||||
```
|
```
|
||||||
|
@ -380,7 +379,7 @@ out plugin problems with the following. This reinstalls your plugins and
|
||||||
language servers.
|
language servers.
|
||||||
|
|
||||||
``` md
|
``` md
|
||||||
sudo rm -R ~/.local/share/nvim
|
rm -rf ~/.local/share/nvim/site
|
||||||
:PackerCompile
|
:PackerCompile
|
||||||
:PackerInstall
|
:PackerInstall
|
||||||
:LspInstall python <-- REPLACE WITH YOUR OWN LANGUAGE
|
:LspInstall python <-- REPLACE WITH YOUR OWN LANGUAGE
|
||||||
|
@ -545,13 +544,13 @@ Changed your mind about LunarVim? To remove it entirely:
|
||||||
|
|
||||||
``` lua
|
``` lua
|
||||||
# Delete the configuration files
|
# Delete the configuration files
|
||||||
sudo rm -R ~/.config/nvim
|
rm -R ~/.config/nvim
|
||||||
|
|
||||||
# Delete the plugins
|
# Delete the plugins
|
||||||
sudo rm -R ~/.local/share/nvim
|
rm -Rf ~/.local/share/nvim
|
||||||
|
|
||||||
# Delete the logs
|
# Delete the logs
|
||||||
sudo rm -R ~/.cache/nvim
|
rm -R ~/.cache/nvim
|
||||||
```
|
```
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
|
|
Loading…
Reference in a new issue