Arqade is a question and answer site for passionate videogamers on all platforms. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to change the keyboard shortcuts?

share|improve this question
Related: this is what the keyboard shortcuts are – Anders Mar 3 '12 at 1:03
up vote 16 down vote accepted

Yes, it is possible. Currently you cannot change the keyboard shortcuts from within the game. However, you can change them by changing the CIV5Controls.xml file.

The file resides under <installation folder>\Assets\Gameplay\XML\Units - notice that's actually where you installed the game, not in your My Documents\My Games folder. If you installed via steam, it should be <steam installation folder>\steamapps\common\sid meier's civilization v\Assets\Gameplay\XML\Units.

Editing the file is pretty intuitive if you're used to the XML format, which is editable by any text editor. Basically, each command has its own entry (called row in that file) where it lists a keyboard shortcut and an optional alternative keyboard shortcut. The shortcut appears between <HotKey> and </HotKey>, or <HotKeyAlt> and </HotKeyAlt> for the alternative shortcut. Between those tags there should appear the actual keyboard shortcut, in a format of KB_<key>. So for example, KB_J stands for J, KB_F9 stands for F9, etc. You can also change the key modifiers: putting 0 between <CtrlDown> and </CtrlDown> means Ctrl is not used with the key, putting 1 means it will be used, and same for alt and shift.

I've done it myself and it works fine in-game, though I was careful not to cause shortcut conflicts - I don't know what happens if there are such conflicts (i.e. two different actions using the same shortcut). I still recommend backing up the file somewhere else before you change it.

share|improve this answer
Thanks, that's it! :-) – user3802 Sep 30 '10 at 12:45
On linux I found the controls xml file in <steam installation>/SteamApps/common/Sid Mei.../steamassets/assets/gameplay/xml/units/ and also another one at <steam installation>/SteamApps/common/Sid Mei.../steamassets/assets/dlc/expansion/gameplay/xml/units and again at the same directory as above except for expansion2 instead of expansion (I assume those are the 2 DLCs) – Mitch Jan 4 '15 at 5:40

If you have the DLCs installed, you have to check under they DLC folder in the assets folder and change their versions of "CIV5Controls.xml", or your controls will not work the way you've updated them.

share|improve this answer

There is currently no way to remap the keybindings from within the game. See Oak's answer to modify them through configuration files.

share|improve this answer

On the Mac it is hidden under your libary folder

First you need to run the following from the Terminal app

chflags nohidden ~/Library

Then navigate to /Users//Library/Application Support/Steam/SteamApps/common/Sid Meier's Civilization V

Right-click the V icon and choose "Show package contents"

navigate to /Contents/Home/assets/GamePlay/XML/Units and you can then edit the CIV5Controls.xml file using the TextEdit app.

share|improve this answer

The keyboard shortcut for Move is in a different folder -- /XML/Interface/Civ5InterfaceModes.xml. I swapped it with the V command (advisors) because I use it with the mouse to see how many turns the autopathing will take to get somewhere. Much safer than right clicking.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.