Skip to content

Instantly share code, notes, and snippets.

@kbenzie
Created December 14, 2013 19:25
Show Gist options
  • Save kbenzie/7963701 to your computer and use it in GitHub Desktop.
Save kbenzie/7963701 to your computer and use it in GitHub Desktop.
Sublime Text snippet to create a snippet
<snippet>
<description>Sublime Snippet</description>
<content><![CDATA[<snippet>
<description>$1</description>
<content><![CDATA[${TM_FILENAME/(.+)\..+|.*/$1/:name}$2]$NOT_DEFINED]></content>
<tabTrigger>${TM_FILENAME/(.+)\..+|.*/$1/:name}</tabTrigger>
<scope>$0</scope>
</snippet>]]></content>
<tabTrigger>snippet</tabTrigger>
<!-- <scope>$0</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment