i

Toggle "Wireframe on shaded" with a hotkey in Maya

Assign the following Mel command to ALT + y (or Command + y on a mac) in the Hotkey Editor (Windows - Settings / Preferences) to quickly switch between shaded and wireframe on shaded view during modeling.

string $current_viewport = `getPanel -wf`;
modelEditor -edit -wireframeOnShaded (!`modelEditor -q -wireframeOnShaded $current_viewport`) $current_viewport;