Skip to content

Instantly share code, notes, and snippets.

@loriculberson
Created August 22, 2016 11:33
Show Gist options
  • Select an option

  • Save loriculberson/6327e9a05c7d61aa2329532c7aa2eae1 to your computer and use it in GitHub Desktop.

Select an option

Save loriculberson/6327e9a05c7d61aa2329532c7aa2eae1 to your computer and use it in GitHub Desktop.
How to Create a Snippet in Sublime 3
Tools --> Developer --> New snippet
<snippet>
<content><![CDATA[
<View> //Code that gets created as a result of typing the trigger
$1 //Where the cursor ends up
</View> //closing
]]></content>
<tabTrigger>vi</tabTrigger> //type "vi" + tab to create the snippet
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment