Ⅰ. 插件描述
RSpec snippets for ultisnipⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'trevoke/ultisnips-rspec'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'trevoke/ultisnips-rspec'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'trevoke/ultisnips-rspec'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/trevoke/ultisnips-rspec
Ⅳ. 文档说明
ultisnip-rspec
RSpec snippets for UltiSnips.
If you use pathogen, just clone into your bundle directory.
There is no extra configuration to get this working.
This plugin also configures a filetype, 'rspec.ruby', and then uses it.
This means that the snippets contained inside only work with _spec.rb files.
NOTICE - I found these snippets online. I am not the author. I just tried to
make them easily reachable by everyone. If you are the author, and you'd like
to have your name here, just let me know!