Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

3 Answers

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: brockboland.com/2013/10/markdown-extension –  Brock Boland Oct 20 '13 at 23:14
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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