Using the Mouse wheel

You can also zoom by holding down Ctrl/Cmd and moving the mouse wheel. The mouse position is kept (if possible) when zooming in or out.