How do I succeed setting sublime text 3 as a default text editor on Yosemite?
The best results with setting default applications I have achieved with a little tool called RCDefaultApp.

It installs as a preference pane in System Preferences. Open System Preferences > Default Apps and change all the applicable extensions and/or UTIs to Sublime Text.