Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andreruffert/subl-snippets

Some Sublime Text 2 Snippets
https://github.com/andreruffert/subl-snippets

Last synced: 4 days ago
JSON representation

Some Sublime Text 2 Snippets

Awesome Lists containing this project

README

        

# Some Sublime Text 2 Snippets

A collection of my [Sublime Text 2](http://www.sublimetext.com/) snippets to simplify the development workflow.

## Installation

These snippets can be installed by simply checkout the source code into Sublime Text's packages directory. The location is system specific:

### For OSX

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User
$ git clone https://github.com/andreruffert/subl-snippets.git -b master

### For Windows

$ cd %APPDATA%/Sublime Text 2/Packages/User
$ git clone https://github.com/andreruffert/subl-snippets.git -b master

## Snippets and Bindings

### Comments


Tab trigger
Description


c-gb

Group comment block

For multi-line explanations and documentation



c-hb
Header comment block


c-sb
Section comment block


c-s
Seperator comment


c-ssb
Sub-section comment block

### HTML


Tab trigger
Description


html5
Create blank HTML5 document


h5bp
Create blank h5bp document

### JavaScript


Tab trigger
Description


log
console.log()

### jQuery


Tab trigger
Description


jq-ready
$(document).ready(); shorthand method


jq-plugin
jQuery prototypal inheritance plugin boilerplate

### Misc


Tab trigger
Description


editorconfig
editorconfig boilerplate


packagejson
package.json boilerplate