I want to be able to toggle "Material" view mode by using hotkey.
Shift + Z toggles rendered mode and Alt + Z toggles textured mode.
I want my hotkey to toggle material mode.
I tried to assign a new hotkey with the following command I copied from console window:
bpy.context.space_data.viewport_shade = 'MATERIAL'
But it didn't work.