RightClick "Assign shortcuts" doesnt work in Edit-mode?
While a lot of blender depend on the &quot;context&quot;
Being in Editmode and &quot;Assign shortcut&quot; will not , create a shortcut for edit mode.
Instead the default Behavior is create a shortcut for the category expressed in the bl_idname.
So having named the operator  object.myactions will create a shortcut for the &quot;object category &quot;
If i used the name                      wm.myactions  the shortcut will be placed in &quot;window&quot;
The shortcut for object will be ignored while in editmode,
So, create your operators using the category you want that to be placed
or
Create manually the shortcuts
(for example going in preference keymap , window and add your operator like object.move_x
it will work even with the object. because mapped in window)