Save it in your sublime/packages/user folder as 'Open in Safari.sublime-build'
That's it.
It should show up in your Tools/BuildSystem and should be selected for all html files. So when you hit Cmd+B it uses that build system to just show the file in Safari.
There are other ways like mapping Cmd+B directly to a python snippet like:
Go to Tools/BuildSystem/NewBuildSystem... Type this in:
Save it in your sublime/packages/user folder as 'Open in Safari.sublime-build'That's it.
It should show up in your Tools/BuildSystem and should be selected for all html files. So when you hit Cmd+B it uses that build system to just show the file in Safari.
There are other ways like mapping Cmd+B directly to a python snippet like:
but for me the first option was simpler.