From a1b96a9ea52a4fd446ac4230b4320cb9fb26f6d4 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Fri, 21 Jul 2017 05:35:34 +0800 Subject: [PATCH] Basic mode --- README.md | 147 +++++++++++------------ autoload/SpaceVim/api/vim/statusline.vim | 2 +- mode/basic.vim | 4 + 3 files changed, 78 insertions(+), 75 deletions(-) diff --git a/README.md b/README.md index b567cbc65..27b86416e 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,14 @@ Here is a throughput graph of the repository for the last few weeks: * [Mnemonic key bindings](#mnemonic-key-bindings) * [Unite work flow](#unite-work-flow) * [module statusline](#module-statusline) -* [Documentation](#documentation) - * [Quick start guide](#quick-start-guide) -* [Getting Help](#getting-help) -* [Community](#community) * [Install](#install) * [1. Requirements](#1-requirements) * [2. Install SpaceVim in Linux/Mac](#2-install-spacevim-in-linuxmac) * [3. Install SpaceVim in windows](#3-install-spacevim-in-windows) * [Update](#update) +* [Documentation](#documentation) + * [Quick start guide](#quick-start-guide) +* [Community](#community) * [Support SpaceVim](#support-spacevim) * [contribute to SpaceVim](#contribute-to-spacevim) * [Write post about SpaceVim](#write-post-about-spacevim) @@ -103,6 +102,66 @@ The `core#statusline` layer provide a heavily customized powerline with the foll ![search status](https://cloud.githubusercontent.com/assets/13142418/26313080/578cc68c-3f3c-11e7-9259-a27419d49572.png) +## Install + +### 1. Requirements + +**nerd fonts and true colors:** + +SpaceVim provides basic and awesome mode, if you want to use awesome mode, you need to install the [nerd-fonts](https://github.com/ryanoasis/nerd-fonts) and make sure your terminal support [true colors](https://gist.github.com/XVilka/8346728). + +**Vim 7.4 above or neovim:** + +- [neovim installation](https://github.com/neovim/neovim/wiki/Installing-Neovim) + +- [install vim with python, python3 and lua support](https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source) + +**git:** + +SpaceVim will download all plugins via git. + +### 2. Install SpaceVim in Linux/Mac + +Install SpaceVim with the command below: + +```bash +curl -sLf https://spacevim.org/install.sh | bash +``` + +After SpaceVim is installed, launch `vim` and SpaceVim will **automatically** install plugins. + +for more info about the install script, please check: + +```bash +curl -sLf https://spacevim.org/install.sh | bash -s -- -h +``` + +### 3. Install SpaceVim in windows + +- For vim in windows, please just clone this repo as vimfiles in you Home directory. +by default, when open a cmd, the current dir is your Home directory, run this command in cmd. +make sure you have a backup of your own vimfiles. also you need remove `~/_vimrc` in your home directory. + +```sh +git clone https://github.com/SpaceVim/SpaceVim.git vimfiles +``` + +- For neovim in windows, please clone this repo as `AppData\Local\nvim` in your home directory. +for more info, please check out [neovim's wiki](https://github.com/neovim/neovim/wiki/Installing-Neovim). +by default, when open a cmd, the current dir is your Home directory, run this command in cmd. + +```bash +git clone https://github.com/SpaceVim/SpaceVim.git AppData\Local\nvim +``` + +## Update + +you can update SpaceVim with the command below: + +```viml +:SPUpdate SpaceVim +``` + ## Documentation ### Quick start guide @@ -165,82 +224,20 @@ Comprehensive documentation is available for each layer by :h SpaceVim