Search code examples
textmatehaml

Does TextMate have an easy way to indent 2 spaces for a HAML file?


I look around for the preferences in TextMate and there seems to be no method to set the indent to 2 spaces when we highlight some code and choose

Text -> Shift Right

Right now it is indenting 4 spaces but is there a way to make it 2?


Solution

  • It's on the bottom bar off the application towards the middle. It'll say something like 'Soft Tabs: 4' if you click it you can change it to do 2 spaces for tabs.