views:

91

answers:

2

I have a block of code selected, I want to un-indent this selected code.

On a pc, I would do a shift-tab and it would un-indent.

+1  A: 

Option+Shift+Tab (or Cmd+]).

Omitting shift (or changing ] to [) will indent instead of reverse-indent.

Amber
I think you meant Cmd+[ instead of Cmd+} as an alternative to un-indent the selected code.
Matthew Rankin
Yeah, was just looking at the keys and brainfarted. :P Technically the same keys, but shift isn't involved for those. :)
Amber
Huh, didn't know about the `<kbd>` tag... neat. ^_^
Mike DeSimone
+3  A: 

The following is from TextMate Power Editing for the Mac by James Edward Gray II.

alt text

Matthew Rankin