Additionally, key binds can be combined with the Exec [[console]] command to enable a player to perform a wide range of tasks with only a few keys, swapping keybinds on the fly. See [[quickswitch hotkeys]] for more information and examples.
To access the console, press "{{key|F1" }} (by default). You can also press "{{key|ESC" }} and then click on "Console."
== Key binds ==
bind <key> "<[[Console#Commands|console command]]>"
'''<key>''' is based on Java key constants. Letters and numbers represent themselves. For other keys, if you can't guess the correct name search [http://docs.oracle.com/javase/7/docs/api/java/awt/event/KeyEvent.html the full KeyEvent list]. Meta keys can also be specified, e.g. <tt>shift-tab</tt> or <tt>ctrl-alt-w</tt>. Available meta keys are Ctrl, Shift, and Alt. The "{{key|Alt Gr" }} key is treated as {{key|Alt }} (if your keyboard has one). The non-meta key must always be the last key in the combination. It is not possible to bind only meta keys.
(The numpad keys can be tricky, as they duplicate other keys on the main keyboard. They are: numpad[0-9], add, subtract, multiply, divide and decimal.)
It is also possible to bind actions an action to mouse buttons too but only the middle mouse button ''MOUSE2'' seems to have any effect, Mouse2.
(as of 12/23/12 NB: It's reported that mouse3 and mouse4 work for the "forward/back" buttons on a 5 button mouse (tested with mine_forward as the command)). {{cite}}
'''<action>''' is a bindable action as listed in the table below.
</table>
:A note specifically about the in-game wiki. This command is bound by default to the H key. If you've managed to unbind it, you can put it back by using the bind command in your console with "toggle wikisearch" as your bound action. So if you wanted to bind your {{key|H key }} to the wiki search, you would open your console (F1) and type in exactly as below:
bind h "toggle wikisearch"
|-
|<tt>multiply</tt> || (numpad) * || (numpad) *
|-
|<tt>mouse2</tt> || ||
|-
|<tt>at</tt> || @ ||