Sublime snippet with params on tabTrigger
问题 For example somewhere inside .html file i type: temp:some-id And expect my snippet creation magic to return this with the specified "some-id" : <script type="text/template" id="some-id"></script> So i need a way to trigger some text and pass through some arguments to the snippet creation file so when the triggering happens I can assign that arguments to some tab-placeholder inside .sublime-snippet. Any ideas? P.S. im using sublime text 2, if it matters. 回答1: You should use the variable $TM