-
git: For downloading and updating plugins of SpaceVim
-
lua: For neocomplete
-
python2/3: Support job and part of plugins. Recommend to install both
-
vim/gvim: Vim’s program
-
DejaVu Sans Mono for PowerLine: Used by the plugins of SpaceVim
-
git: For downloading and updating plugins of SpaceVim
-
lua: For neocomplete
-
python2/3: Support job and part of plugins. Recommend to install both
-
vim/gvim: Vim’s program
-
DejaVu Sans Mono for PowerLine: Used by the plugins of SpaceVim
-
Offline plugins package: All plugins used by SpaceVim
-
git –version
The correct result✅: > git version 2.12.2
-
lua -v
The correct result✅: > Lua 5.3.4 Copyright © 1994-2017 Lua.org, PUC-Rio
Notice: Different Operating system may has different names of lua. For example, lua
or lua53
or lua52
.
-
python -V
The correct result✅: > Python 3.6.0
-
vim
The correct result✅: > You can see vim in your terminal
Notice: You have to install them by corresponding package manager. For expample:
-
Debian/Ubuntu:
sudo apt-get install git
-
Fedora:
sudo dnf install git
-
CentOS/RHEL:
sudo yum install git
-
Arch
sudo pacman -S git
-
Back up your own
.vimrc
. Just in case you don’t like SpaceVim -
Execute:
curl -sLf https://spacevim.org/install.sh | bash
-
Launch: vim
After finishing downloading plugins, you installed SpaceVim successfully!
-
Check whether your vim has +Lua and +python feature. Use
vim --version | grep -E 'lua|python'
to check out:
Notice: If your vim doesn’t have +lua
and +python
support, please install vim that has them or build vim from source.
-
Check whether your Lua and python2/3 really works by tow command:
echo has('lua')
,echo has('python3')
andecho has('python2')
-
Lua returns: 1
-
Python returns: 1
-
Python3 returns: 1
-
Notice: echo has('python2') and`echo has(`python3')
, both of them could return`1`instead of returning`0`.
-
Install fonts, download fonts in advance: DejaVu Sans Mono for PowerLine.ttf.
List is the same as Install online: Check prerequisites. So I won’t repeat it:
-
git
-
lua
-
python(2/3)
-
vim/gvim
Things are getting easier in SpaceVim-v0.9.0-dev. Yes, you can install SpaceVim without any Internet connection.
Try it!
-
Download the release: https://github.com/Gabirel/Hack-SpaceVim/releases
-
Extract the package to:
~
-
Link the folder to vim:
mkdir .vim
ln -svf ~/.SpaceVim/* ~/.vim/
-
Open vim in your terminal and try it.
Congratulations! Install offline successfully!
As @TamaMcGlinn mentions, git bundle
is suitable for incremental updates for plugins.
In this way, you don’t have to copy the whole plugins via USB or internal email.
Unfortunately, for all those plugins with git bundle
method, you have to write scripts in order to incrementally update or load changes.
More details: Instructions For Installing SpaceVim - OFFLINE
Instructions for Windows | FAQ | Index | 中文文档