Celeb Glow
news | February 28, 2026

Mac: Change Default Text Editor [duplicate]

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.

4

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.

1