Project-wide override of the PIE Stop shortcut from Escape to Shift+Escape

Hello,

I would like to ask for guidance on the recommended way to override a single Unreal Editor key binding project-wide and distribute that change to the whole team through source control.

Our specific case is the Play World (PIE/SIE) -> Stop command, which is bound to Escape by default. In our project, we want to free Escape for in-game menu handling during PIE and move the editor stop action to Shift+Escape.

Changing the shortcut in Editor Preferences -> Keyboard Shortcuts appears to be user-local and does not produce a project config change that can be shared through source control.

We can technically handle this through editor startup code, but we would prefer to avoid that if there is a cleaner supported solution.

Could you please advise:

  1. Is there a supported config-based way to override a single editor key binding project-wide?
  2. If not, what would be the recommended way to handle this cleanly for a whole team?
  3. If editor code is the correct route, what API or initialization hook would you recommend for applying this override reliably?

Thank you

Kind regards,

Miroslav

[Attachment Removed]

Hi,

You can create/modify and submit the project Config/DefaultEditorKeyBindings.ini. Lyra does exactly what you want in //UE5/Main/Samples/Games/Lyra/Config/DefaultEditorKeyBindings.ini.

//UE5/Main/Samples/Games/Lyra/Config/DefaultEditorKeyBindings.ini

[UserDefinedChords]
UserDefinedChords=~OpenBracket~~Quote~BindingContext~Quote~:~Quote~PlayWorld~Quote~,~Quote~CommandName~Quote~:~Quote~StopPlaySession~Quote~,~Quote~ChordIndex~Quote~:0,~Quote~Control~Quote~:false,~Quote~Alt~Quote~:false,~Quote~Shift~Quote~:true,~Quote~Command~Quote~:false,~Quote~Key~Quote~:~Quote~Escape~Quote~~CloseBracket~

The syntax is not user friendly, so you can change the ‘Editor -> Edit -> Keyboard Shortcuts’ UI and look at the generated mapping saved in “D:\UE5\Engine\Saved\Config\WindowsEditor\EditorKeyBindings.ini”, which is written when you close the UI dialog. The key binding override system might also be confusing. If you have the same settings in various *EditorKeyBindings.ini, the Editor might pick an override you don’t expect. I use a program like ‘Everything’ to search all files ending with ‘EditorKeyBinding.ini’ on my system and review what in [ProjectDefinedChords] and [UserDefinedChords].

Regards,

Patrick

[Attachment Removed]

Hi Patrik,

Thank you very much for your help, DefaultEditorKeyBindings.ini works nicely.

Kind regards,

Miroslav

[Attachment Removed]