Search for [Engine.PlayerInput] and add your bind there.
To get the actual "type-to-command" prompt (~ or ), you typically need a modified file.
You can use PatcherGUI to apply a "Developer Console Activation" patch (often found as a .txt file on Nexus Mods) to your game. Essential Console Commands
Once enabled, these commands can drastically alter your campaign: Dev Console (Long War) - UFOpaedia
Xcom Enemy Within Dev Console Full ((full)) -
Search for [Engine.PlayerInput] and add your bind there.
To get the actual "type-to-command" prompt (~ or ), you typically need a modified file.
You can use PatcherGUI to apply a "Developer Console Activation" patch (often found as a .txt file on Nexus Mods) to your game. Essential Console Commands
Once enabled, these commands can drastically alter your campaign: Dev Console (Long War) - UFOpaedia