New Plugin. Copy and paste this in the plugin:
Save this in your User folder of Sublime's packages.
Open up your User Keybindings. (
Command Palette >
User Key bindings)
Add this somewhere to the list:
You can make the "keys" anything you want. Now when you're in a HTML file, just press that command.