Skip to content

Instantly share code, notes, and snippets.

@nelsonblaha
Created June 7, 2012 01:32
Show Gist options
  • Save nelsonblaha/2885986 to your computer and use it in GitHub Desktop.
Save nelsonblaha/2885986 to your computer and use it in GitHub Desktop.
Multiple-cursor sublime text 2 snippet for making a form item
<snippet>
<content><![CDATA[
<div class="field">
<%= f.label $1 %>
<%= f.$2 $1 %>
</div>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>formitem</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment