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

The default file format for text mate is .txt. I would like to change this to .md for markdown, but I can't figure out where to do this.

share|improve this question
up vote 1 down vote accepted

Open Terminal and enter

defaults write com.macromates.textmate OakDefaultLanguage 0A1D9874-B448-11D9-BD50-000D93B6E43C

0A1D9874-B448-11D9-BD50-000D93B6E43C is the UUID of the Markdown bundle/syntax.

share|improve this answer
That totally worked! Thanks. Now how would I find the UUID for the .md extension? That UUID uses .mdown – Lee McAlilly Mar 22 '11 at 19:00
I toyed a bit with the TextMate Markdown bundle, and it doesn't seem possible @Lee – Daniel Beck Mar 27 '11 at 10:19
Just figured this out today, if you're still interested: – Brock Boland Oct 20 '13 at 23:14

If you don't mind messing with the terminal it can be done. The instructions can be found here via here. I just tried it and it worked for me.

share|improve this answer

Unless text mate (which I'm not familiar with) has configured it to be a setting somewhere there really isn't a way to change the default save format. The only way if such a setting option doesn't exists (which most programs don't have as part of their setup) is to have the source code and make the change there then recompile and reinstall. But unless its open source this wouldn't be a possibility either.

share|improve this answer

You must log in to answer this question.

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