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.
I want to use sublime text by default for .cpp mac
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.