OS X 10.8
TextMate 2 -r9283


How can I permanently force TextMate to to always default to soft tabs (use spaces, not tabs)?

I want to know how to make TextMate default to this setting so that I don't have to constantly convert tabs to spaces while working on a file.

How do you permanently tell TextMate 2 to prefer soft tabs?

2 Answers 2


TextMate 2 uses a special file called .tm_properties to control lots of settings in the app. It will use ~/.tm_properties if present for global defaults. You can also add one inside a source tree to control settings for a particular project.

The setting you're looking for is:

softTabs = true

Just add that line to ~/.tm_properties (or create it if it doesn't exist).

You can read more about this file here.


Put the following in ~/.tm_properties:

softWrap = true
tabSize = 4
softTabs = true
  • 6
    softWrap is unrelated to this question. Jan 16, 2017 at 13:30
  • 1
    @RudolfAdamkovic, soft is the relation...
    – PatrickT
    Oct 31, 2017 at 18:51

You must log in to answer this question.

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