Skip to content

Instantly share code, notes, and snippets.

@kenzie
Created May 25, 2012 15:13
Show Gist options
  • Save kenzie/2788689 to your computer and use it in GitHub Desktop.
Save kenzie/2788689 to your computer and use it in GitHub Desktop.
Sublime Text 2 snippet for wrapping selection in erb tags
<snippet>
<content><![CDATA[
<%= ${0:$TM_SELECTED_TEXT} %>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.erb</scope> -->
<description>&lt;%= … %&gt;</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment