1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:20:05 +08:00

Merge branch 'setup' into dev

This commit is contained in:
wsdjeg 2017-07-20 04:33:01 +08:00
commit 7e3d45c621

View File

@ -35,8 +35,9 @@ Here is a throughput graph of the repository for the last few weeks:
* [Getting Help](#getting-help)
* [Community](#community)
* [Install](#install)
* [Linux/Mac](#linuxmac)
* [windows support](#windows-support)
* [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)
* [Support SpaceVim](#support-spacevim)
* [contribute to SpaceVim](#contribute-to-spacevim)
@ -183,22 +184,31 @@ Try these Neovim hangouts for any questions, problems or comments.
## Install
### Linux/Mac
### 1. Requirements
**Install SpaceVim with the command below**
**1) Powerline font:**
By defalut SpaceVim use [DejaVu Sans Mono for Powerline](https://github.com/powerline/fonts/tree/master/DejaVuSansMono), to make statusline render correctly, you need to install the font. [powerline extra symbols](https://github.com/ryanoasis/powerline-extra-symbols) also should be installed. To show the filetype icon in the tabline, you need to install [nerd-fonts](https://github.com/ryanoasis/nerd-fonts).
**2) 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)
**3) 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**
SpaceVim required Vim7.4 above or neovim, here is the installation of neovim/vim with python support:
- [neovim installation](https://github.com/neovim/neovim/wiki/Installing-Neovim)
- [Building Vim from source](https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source)
After SpaceVim is installed, launch `vim` and SpaceVim will **automatically** install plugins.
for more info about the install script, please check:
@ -206,7 +216,7 @@ for more info about the install script, please check:
curl -sLf https://spacevim.org/install.sh | bash -s -- -h
```
### windows support
### 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.