I found this accidentally when I prompted this topic: Simple shortcut I'd like to implement
If you hold alt while turning the middle scroll button, you pan in and out instead of zooming. Helps a lot if you’re trying to get a better closeup view of your work. Sometimes you have to deselect all to get it to work, a minor inconvenience.