Ⅰ. 插件描述
:dancers: Vim snippets for Web Development.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'idlua/vim-webdev-snippets'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'idlua/vim-webdev-snippets'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'idlua/vim-webdev-snippets'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/idlua/vim-webdev-snippets
Ⅳ. 文档说明
# vim-webdev-snippets
:dancers: Vim snippets for Web Development.
Usage
Just write the snippet shortcut and press Tab.
foo<Tab>
# output
<foo whatever=""></foo>See the Wiki
For all available snippets and your shortcuts see their respective pages in the Wiki:
HTML snippets »
CSS and preprocessors snippets »
JavaScript snippets »
Jade/Pug snippets »
Installation
Using Vundle
Add this to your .vimrc file:
" To install snipMate
Plugin 'tomtom/tlib_vim'
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'garbas/vim-snipmate'
" To install snippets for Web Development
Plugin 'idlua/vim-webdev-snippets'Source your .vimrc file:
source ~/.vimrcAnd run this to finally install:
:PluginInstall