jebberwocky
jebberwocky

Reputation: 1089

Textmate 2 indentation with Python

When I indent by tabbing "Tab" key, the tab is replaced by 4 spaces. Does anyone know how could I set it to normal?

Upvotes: 2

Views: 2142

Answers (1)

Michael Sheets
Michael Sheets

Reputation: 553

At the bottom of the editor window there is a menu for tab size, you can set the desired width there as well as turning on soft tabs which inserts spaces instead of tabs but treats them as tabs when editing. Your choice will be saved based on the active file type so make sure to set it when in a python file.

Upvotes: 6

Related Questions