From eaf29aff632b7c34ae72de89d4e6bb5d04bc988d Mon Sep 17 00:00:00 2001
From: wsdjeg <wsdjeg@outlook.com>
Date: Fri, 22 Apr 2022 22:07:55 +0800
Subject: [PATCH] docs(faq): add guide for manual installation

---
 docs/faq.md               | 22 +++++++++++++++++++---
 docs/quick-start-guide.md |  6 +++---
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/docs/faq.md b/docs/faq.md
index 575737a6d..43617a08e 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -13,7 +13,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)
-  - [How to perform manual installation?](#how-to-perform-manual-installation)
+  - [How to install SpaceVim manually?](#how-to-install-spacevim-manually)
 - [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)
@@ -43,16 +43,32 @@ and if you uninstalll SpaceVim, your vimrc will come back. you can run:
 curl -sLf https://spacevim.org/install.sh | bash -s -- --uninstall
 ```
 
-### How to perform manual installation?
+### How to install SpaceVim manually?
 
-Clone the SpaceVim Github repository to `~/.SpaceVim` and link Vim and Neovim user folder `~/.SpaceVim`. Delete `~/.vimrc`. On Linux use the following commands.
+The following section will document how to install SpaceVim manually on Linux.
+First, you need to clone the repository to `~/.SpaceVim`.
 
 ```
 git clone https://github.com/SpaceVim/SpaceVim.git ~/.SpaceVim
+```
+
+Then, backup your old Neovim/Vim configuration file:
+
+```
+mv ~/.vimrc ~/.vimrc_back
+mv ~/.vim ~/.vim_back
+mv ~/.config/nvim ~/.config/nvim_back
+```
+
+Link `~/.SpaceVim` to Vim and Neovim user folder:
+
+```
 ln -s ~/.SpaceVim ~/.vim
 ln -s ~/.SpaceVim ~/.config/nvim
 ```
 
+
+
 ## Configuration
 
 ### Can I try SpaceVim without overwriting my vimrc?
diff --git a/docs/quick-start-guide.md b/docs/quick-start-guide.md
index eb9e194fc..d3a91334f 100644
--- a/docs/quick-start-guide.md
+++ b/docs/quick-start-guide.md
@@ -15,7 +15,7 @@ It will give you a good idea of what SpaceVim is like.
 <!-- vim-markdown-toc GFM -->
 
 - [Installation](#installation)
-- [Linux and macOS](#linux-and-macos)
+  - [Linux and macOS](#linux-and-macos)
   - [Windows](#windows)
 - [Run in docker](#run-in-docker)
 - [Configuration](#configuration)
@@ -33,7 +33,7 @@ which are needed for downloading plugins and fonts.
 
 If you are using a terminal emulator, you will need to set the font in the terminal configuration.
 
-## Linux and macOS
+### Linux and macOS
 
 ```bash
 curl -sLf https://spacevim.org/install.sh | bash
@@ -67,7 +67,7 @@ and a C compiler (like `gcc`) to build the dll (see issue [#435](https://github.
 
 ### Windows
 
-The easiest way is to download and run [install.cmd](../install.cmd) or install [SpaceVim manually](https://spacevim.org/faq/#how-to-perform-manual-installation). The script installs or updates SpaceVim (if it exists) for Vim and Neovim.
+The easiest way is to download and run [install.cmd](../install.cmd) or install [SpaceVim manually](../faq/#how-to-install-spacevim-manually). The script installs or updates SpaceVim (if it exists) for Vim and Neovim.
 
 ## Run in docker