To collapse all headings and lists, use the “Fold all Headings and Lists” command. You can do this from the command pallete by typing CTRL+P and typing “fold”:
You can also assign a hotkey to it in the Settings → Hotkeys menu. I have mine assigned to CTRL+SHIFT+.
: