From 690f454a3a1f7d81134ec6a24d9dc738c7947949 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Wed, 2 Feb 2022 15:04:45 +0800 Subject: [PATCH] docs(faq): add doc for uninstall SpaceVim --- docs/faq.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 07612d888..4f95e6c5b 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -12,6 +12,7 @@ and usage. - [Installation](#installation) - [Where is my old vim configuration?](#where-is-my-old-vim-configuration) + - [How to uninstall SpaceVim?](#how-to-uninstall-spacevim) - [Configuration](#configuration) - [Can I try SpaceVim without overwriting my vimrc?](#can-i-try-spacevim-without-overwriting-my-vimrc) - [Why use toml as the default configuration file format?](#why-use-toml-as-the-default-configuration-file-format) @@ -32,6 +33,15 @@ and usage. In Linux/MacOS, the old vim configuration file `~/.vimrc` will be renamed to `~/.vimrc_back`, and the directory `~/.vim` also will be renamed to `~/.vim_back`. +### How to uninstall SpaceVim? + +The installation script does not remove your vimrc, it just changes the name from `~/.vim` to `~/.vim_back`. +and if you uninstalll SpaceVim, your vimrc will come back. you can run: + +``` +curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall +``` + ## Configuration ### Can I try SpaceVim without overwriting my vimrc?