I copied a piece from http://wiki.netbeans.org/KeymapProfileFor60.
The first option is for Win/Lin and the second for Mac.
Command | Windows | Mac |
---|---|---|
Collapse (hide) a block | Ctrl + - | ⌘ + - |
Expand a Collapsed Block (expand-fold) | Ctrl + + | ⌘ + + |
Collapse (hide) all code blocks | Ctrl + Shift + - | ⌘ + Shift + - |
Expand all code blocks (expand-all-folds) | Ctrl + Shift + + | ⌘ + Shift + + |
1 On Windows you can also use the numpad + and -
2 It says +, achkatually it’s the = key