Textmate tab and de-tab selected block

Derek Organ picture Derek Organ · May 31, 2010 · Viewed 13k times · Source

Recently switched to Textmate on Mac for coding. On PC when ever I want to tab in or out a block of code I just highlight and press tab or shift+tab to move it in our out. It's very useful when you are adding an extra loop or conditional statement to a block of code to keep everything tidy and neatly indented.

On Textmate however when I try this it just replaces my selected text with a tab. So is there a way to do tab and de-tab lines of code in textmate?

Answer

David Antaramian picture David Antaramian · May 31, 2010

Indent: Alt+Tab

Un-Indent: Shift+Alt+Tab