you can create a shortcut to toggle the Gumball:
noecho _Gumball _Toggle
I set this to F4
I want to be able to change the alignement too, so I added these four shortcuts:
Ctrl+Shift+C
noecho -_GumballAlignment _CPlane _Enter
Ctrl+Shift+O
noecho -_GumballAlignment _Object _Enter
Ctrl+Shift+V
noecho -_GumballAlignment _View _Enter
Ctrl+Shift+W
noecho -_GumballAlignment _World _Enter
Align to view only works in Rhino WIP / 7
Under General, Never repeat these commands, I added the following two lines:
Gumball
GumballAlignment
noecho
Check this thread too: