Sublime Text 2 plugin for creating a new file from the current selection.
Recommended way is using PackageControll package.
Or you can download the tarball and extract it to your ~/Library/Application Support/Sublime Text 2/Packages/New From Selection
.