PROBLEM
Assigning a hotkey to the New material button (command = material.new) creates a new material in the Blendfile, but does not put the material in the node editor, like the button does.
SOLUTION
There should be a hotkeyable command to create a new material and put the material in the node editor, just like pressing the “New” button does.