Ⅰ. 插件描述
SnipMate-Plus is a fork of popular vim plugin--snipMate.vim, aiming to be a easy to use vim script that implements TextMate like snippets features in Vim. I add the nested snippets support, so you can use tab to expand a new snippet within a expanding snippet.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'acevery/snipmate-plus'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'acevery/snipmate-plus'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'acevery/snipmate-plus'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/acevery/snipmate-plus
Ⅳ. 文档说明
# Why this #
This my fork of msanders/snipmate.vim, which is inactive from Apr 07, 2010. I
add the nested snippet expansion that I badly need in writing html and xml. I
also add more snippets I used and try to merge the pull request of
msanders/snipmate.vim
Quickly install with
Install Pathogen if you haven't
- Then install snipmate as a bundle:
cd ~/.vim/bundle
git clone git://github.com/acevery/snipmate-plus.git