void (@NotNull AnActionEvent e) { Keymap keymap = myManager.getMutableKeymap(mySelectedKeymap); keymap.removeShortcut(myActionId, myShortcut); if (StringUtil.startsWithChar(myActionId, '$')) { keymap.removeShortcut(KeyMapBundle.message("editor.shortcut", myActionId.substring(1)), myShortcut); } currentKeymapChanged(); }