You can go to Edit > Keyboard Shortcuts > Drag Value > Zoom and press the “Add” button that appears in the “Zoom” item when you move the mouse above it. Adding Ctrl+Space as a shortcut, will allow you to move the mouse left/right to zoom out/in when you press those keys.
You can change the direction of the mouse/number of pixels/precision with the Angle and Distance fields right there.