Ⅰ. 插件描述
Spacemacs for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ctjhoa/spacevim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ctjhoa/spacevim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ctjhoa/spacevim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ctjhoa/spacevim
Ⅳ. 文档说明
# Spacevim - Spacemacs for vim
This project is not actively maintained anymore. There are other projects doing similar things.
Spacevim is Spacemacs for vim.
It can be used as a full distribution or you can get only the Spacemacs key bindings
Installation
Spacevim provides 2 ways of using it. First you can use it as a vim distribution like Spacemacs.
Or you can only install it as a set of key bindings and Spacevim will bring out the best of your currently installed plugin.
Distribution mode
You want a full vim distribution like Spacemacs provides for emacs.
Execute this line of shell, it will download a default .vimrc and install
plugins through vim.
curl -sSfL https://raw.githubusercontent.com/ctjhoa/spacevim/master/vimrc.sample -o ~/.vimrc && vimAfter plugins installation restart vim.
Key bindings only mode
You already have a vim config and/or want to manage your plugins yourself.
This mode will provide only Spacemacs key bindings and adapt Spacevim with currently installed plugins.
Install Spacevim as usual:
git clone https://github.com/ctjhoa/spacevim ~/.vim/bundle/spacevim- Remember to run
:Helptagsto generate help tags
NeoBundle 'ctjhoa/spacevim'
Plugin 'ctjhoa/spacevim'
Plug 'ctjhoa/spacevim'
manual
- copy all of the files into your
~/.vimdirectory
- copy all of the files into your
Plugins
TODO
- Load plugin in async
- Support spacemacs 0.200.X
- Better documentation
- OO programming (as suggested here)
License
MIT License

