Skip to content

ruanwz/bootstrap-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

Bootstrap Snippets

This repository contains HTML and Haml snippet files for Twitter Bootstrap, for the famous snipmate plugin for Vim.

Dependencies

How to install

  • Install vim-snipmate and dependencies
  • Install bootstrap-snippets

Installation using Pathogen

$ cd ~/.vim
$ mkdir bundle
$ cd bundle
$ git clone git://github.com/bonsaiben/bootstrap-snippets.git

# Install dependencies:
$ git clone https://github.com/garbas/vim-snipmate.git
$ git clone https://github.com/tomtom/tlib_vim.git
$ git clone https://github.com/MarcWeber/vim-addon-mw-utils.git

Usage

Generally the snippet trigger will be the name of the relevant class or combination of classes (without hyphens).

For example, btnprimary converts to:

%button.btn.btn-primary{:type => "button"} ${1:Default}

About

Twitter Bootstrap snippets for vim-snipmate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published