vim-bootstrap3-snippets


Ⅰ. 插件描述

Twitter Bootstrap 3 Snippets for Vim

Ⅱ. 基本信息

创建日期:  2014-03-21
使用用户:  39
Github星:  31
插件作者:  Chris Gillis

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'chrisgillis/vim-bootstrap3-snippets'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'chrisgillis/vim-bootstrap3-snippets'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'chrisgillis/vim-bootstrap3-snippets'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/chrisgillis/vim-bootstrap3-snippets

Ⅳ. 文档说明

Bootstrap 3 Snippets for Vim

This repository contains Snipmate snippets for Twitter Bootstrap v3.

Supported Snippet Engines

Currently supports Snipmate, NeoSnippet, and UltiSnips.

Installation

Use a package manager that supports github repositories.

Vundle Example:
Add Bundle 'chrisgillis/vim-bootstrap3-snippets' to your .vimrc

Bugs

These snippets are mostly done but bootstrap components aren't fully tab-stopped yet. Feel free to contribute.

Triggers

doctype
viewport
viewport-nozoom
container
container-fluid
row
col
p-lead
abbr
abbr-initialism
address
blockquote
blockquote-cite
blockquote-cite-r
list
list-unstyled
list-inline
dl
dl-horizontal
pre-scrollable
table
contextuals
form
form-inline
form-horizontal
form-group
input
textarea
checkbox
checkbox-inline
radio
radio-inline
select
select-multiple
validation-states
icon
help
btn
btn-block
btn-types
abtn
img
btn-close
caret
floats
center-block
clearfix
div-show
div-hidden
dropdown
dropdown-headers
btn-group
btn-toolbar
btn-group-vertical
btn-dropdown
btn-split-dropdown
btn-dropup
input-group
input-group-button
nav-tabs
nav-pills
nav-pills-stacked
nav-tab-dropdown
navbar
navbar-form
breadcrumb
pagination
pager
label-badge
badge
jumbotron
page-header
thumbnails
alert
progress-bar
media-list
list-group
linked-list-group
panel
well

添加新评论