Layer visibility shortcut in Photoshop

Is there a way to set a keyboard shortcut to toggle layer visibility in Photoshop (CS3)?


Solution 1:

There isn't a shortcut bound to this action by default; but if you go to the Keyboard Shortcuts configuration (Edit > Keyboard Shortcuts) under 'Layers' there is a 'Hide Layers' option where you can bind your own shortcut.

Solution 2:

Mac = command + , toggles selected layer visibility
Mac = command + option + , turns all layers' visibility on regardless of layer selection.

PC = ctl + ,
PC = ctl + alt + ,