I want to use sublime text by default for .cpp mac

broken image

broken image

broken image

The only way to do this with all file types is to create a service in automator, which actually should make things easier for you.