The Unity API provides access to a OpenGL style graphics for immediate mode drawing in the class called “GL”.
With scripting you can add menu items that have shortcut keys assigned to them. Read the MenuItem description for more information.