Go to the Edit menu, select "Keyboard Shortcuts...", or press Alt+Shift+Ctrl+k.
Find the layers menu, and far down you'll see the line for "Hide Layers". Select this one, and press the shortcut you would like for this feature, for instance Alt+Shift+Ctrl+h.
Click "Accept", then "OK".
That's it.