$ bash <(curl -fsSL https://raw.githubusercontent.com/liuchengxu/space-vim/master/install.sh)
$ git clone https://github.com/liuchengxu/space-vim.git ~/.space-vim
$ cd ~/.space-vim
$ make vim # install space-vim for Vim
$ make neovim # install space-vim for NeoVim
下载 vim-plug:
windows (PowerShell)
md ~\.vim\autoload
$uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
(New-Object Net.WebClient).DownloadFile(
$uri,
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath(
"~\.vim\autoload\plug.vim"
)
)
进入用户目录,右键打开 Git Bash 选择 Git Bash Here
.
下载 space-vim 并建立软连接。
$ git clone https://github.com/liuchengxu/space-vim.git ~/.space-vim
$ ln -s ~/.space-vim/init.vim ~/.vimrc
$ cp ~/.space-vim/init.spacevim ~/.spacevim
打开 Vim,执行 :PlugInstall
.