Last active
December 16, 2015 05:29
-
-
Save brobertsaz/5384619 to your computer and use it in GitHub Desktop.
Ruby Expression snippet for Sublime Text 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These two snippets can be copy/pasted into a Sublime Text 2 new snippet and saved as a [.]sublime-snippet | |
To create <%= <cursor> %> use rb=+tab | |
<snippet> | |
<content><![CDATA[<%= ${1} %>]]></content> | |
<tabTrigger>rb=</tabTrigger> | |
<description><%=… %></description> | |
</snippet> | |
To create <% <cursor> %> use rb=tab | |
<snippet> | |
<content><![CDATA[<% ${1} %>]]></content> | |
<tabTrigger>rb</tabTrigger> | |
<description><%… %></description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment