Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Default editor for files without file name extension in Mac OS X

The default is currently TextEdit. I want to change it to be MacVim.

I know how to set files that end with a certain extension, such as .txt, to always open with MacVim (I do this by selecting a file with the extension .txt, pressing command-i, and selecting Open with: Application, Change All...), but I also want text files without extensions, such as README, to open with MacVim by default.

share|improve this question

marked as duplicate by Daniel Beck, Ivo Flipse Jan 21 '11 at 18:09

This question was marked as an exact duplicate of an existing question.

I'm not closing this one as a dupe of… as I feel the wording is completely different – Ivo Flipse Jan 19 '11 at 20:24
The accepted solution may do the trick though. – user3463 Jan 19 '11 at 20:52
@Ivo It is a duplicate. Both extension-less files and .txt share the text/plain MIME type and public.plain-text UTI, but the Get Info dialog only allows changes to the actual extension, therefore allowing .txt customization while leaving extension-less files alone. It is exactly the same issue. Matt only explicitly mentioned the what parts work for him, and jason (other topic) wants hidden files ("dot-files") to also work. Which they do, as they don't have an extension. – Daniel Beck Jan 21 '11 at 18:05
This is not a duplicate in my opinion either. The other one is specific to TextMate. It doesn't give enough information on how to make TextWrangler the default. – Sridhar-Sarnobat Aug 27 '13 at 22:37

You can't because it can't determine enough information about the file (other then it lacks an extension) to reliably alter that.

share|improve this answer
This argument doesn't hold up. OS X has enough information to decide to open it with TextEdit. – Sridhar-Sarnobat Aug 27 '13 at 22:35

Not the answer you're looking for? Browse other questions tagged .