Reputation: 267140
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.
Upvotes: 5
Views: 4770
Reputation: 461167
The following is from TextMate Power Editing for the Mac by James Edward Gray II.
⌘+[ or ⌥+⇧+⇥
Decrease selection indent (works on current line when nothing is selected)
⌘+] or ⌥+⇥
Increase selection indent (works on current line when nothing is selected)
⌥+⌘+[
Reindent selection based on current language grammar rules (works on current line when nothing is selected)
Upvotes: 4
Reputation: 527073
Option+Shift+Tab (or Cmd+]).
Omitting shift (or changing ] to [) will indent instead of reverse-indent.
Upvotes: 8