I want to define an application for opening files based on the filename.

For example I want a file called Gemfile or Dockerfile to be opened with sublime or atom.

I know I can use the mime-type but for both files it will be text/plain.

Or is there a mime-type for Gemfile?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.