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://javadocs.sunoracle.com/j2sejavase/1.5.07/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 "Alt Gr" key is treated as 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.)
</td></tr>
</table>
== Examples ==