I don’t think you can set any TM variables right now with the exception to “some” of them for snippet functionality ex: TM_SELECTED_TEXT
anyways, I am guessing you are referring by default sublime doesn’t close single tags such as BR and IMG or INPUT, easy fix just edit the following file
%AppData%\Sublime Text\Packages\HTML\unclosed tag.sublime-snippet
put this in there
<snippet>
<content><${PARAM1} />$0</content>
</snippet>
*
Notice the “/” before the >*, now it will insert the
and all of these tags too: br|button|embed|hr|input|meta|option|param
You might be interested in the following plugins, I highly recommend 'em
bitbucket.org/sublimator/webdeve … /wiki/Home
bitbucket.org/sublimator/zencoding/wiki/Home