I’m trying to figure out how to bind snippets in Sublime Text 2 to a key combo. Not having any luck looking at the default key bindings file. I have the following snippet:
<snippet>
<content><![CDATA[<p>${0:${TM_SELECTED_TEXT:Paragraph}}</p>]]></content>
<scope>source.php, text.html</scope>
<description>HTML "p" Tag</description>
</snippet>
This is what i am trying to use to bind it:
{ "keys": "alt+shift+p"], "command": "insert_snippet", "args": {"file": "Packages/User/ptag.sublime-snippet"}}