From https://github.com/nh2/sublime-text-move-tabs