When you launched Blender 2.79 for the first time, you should have seen a menu item on the splash screen to copy all settings from your previous Blender version. I assume you ignored/missed that?
If so, you’re on a vanilla Blender 2.79 now with all controls reverted to their defaults.
Unfortunately that aforementioned button only appears on first launch. So, delete the config folder for Blender 2.79 (no idea where that is on a Mac) and start 2.79 again. This time click on the splash screen button.