Bind console command to editor key (not in-game)?

Is there a way (a place in an .ini file) to bind a key to any known console command, that will work in the editor?

I’ve tried DefaultInput.ini [/Script/Engine.PlayerInput] +DebugExecBindings but that only works in-game. And DefaultEditorKeyBindings.ini [/Script/UnrealEd.UnrealEdKeyBindings] +KeyBindings but that doesn’t seem to work at all.

For example we could bind stat commands to a key. Or we could bind e.g. “KE * MyEvent” to run events in actors that have “Run In Editor” ticked, meaning from there we can shortcut all kinds of useful custom editor actions (which is the real reason I ask).