Sublime Text 3 rewrite/refactor