Expand or collapse ribbon

Windows shortcut
CtrlF1
Mac shortcut
R

Expand or collapse ribbon