How do you collapse a heading or bullet point?

Can this be bound to a hotkey?

1 Like