I am using my own custom menu, and i discovered that i can assign shortcuts to "my operator" but i cant assign shortcut to the same thing while in editmode. in editmode the shortcuts cant be assigned and disappear if assigned in object mode. Its because of the way i scripted? All the operators works fine if i "click" them in any mode.
The standard menu of blender works fine in edit mode too. For exampe While in editmode-faces , i can assign a shortcut to the Right-click "pokefaces"