Std ViewFitAll

Description
Zooms outwards until all visible objects in the active document are shown in the 3D view.

Use
Click on or choose  from the top menu. The command is also available by right clicking in the 3D view (and having nothing pre-selected).