Skip to content

Ajmal/Sublime-Snippets

Repository files navigation

#Sublime Snippets

A set of custom snippets for Sublime Text 2. DRY!!!!

##Example

Div

d + tab

<div class=" {1} ">
	{2}
</div><!-- {1} close -->

Note: Cursor automatically points to {1} after you execute d + tab keys, press tab key to move cursor from {1} to {2}

Rails print

= + tab

<%= {1} %>

Rounded

rounded + tab

@include rounded( {1} );

Clear

br + tab

<br class="clear">

Rails class

class + tab

, :class => ' {1} '

CSS Comment

c + tab

/* ~ {1}
-----------------------------------------------------------*/

##How to use? Download and place the snippets in

/Users/YOUR_USERNAME/Library/Application Support/Sublime Text 2/Packages/User

About

A set of custom snippets for Sublime Text 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published