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.

link|improve this question

50% accept rate
I'm not closing this one as a dupe of superuser.com/questions/231854/… as I feel the wording is completely different – Ivo Flipse Jan 19 '11 at 20:24
The accepted solution may do the trick though. – Randolph West Jan 19 '11 at 20:52
1  
@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
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

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

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.