I had so much trouble
editor = 'C:/Program Files/Sublime Text 2/sublime_text.exe' --wait