|
|
|
@ -11,15 +11,15 @@ Hotkeys can be any combinations of Ctrl/Alt/Shift with A-Z, 0-9, F1-F12, or
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
|
|
- ``keybinding``
|
|
|
|
|
Show some useful information, including the current game context.
|
|
|
|
|
Show some useful information, including the current game context.
|
|
|
|
|
- ``keybinding list <key>``
|
|
|
|
|
List bindings active for the key combination.
|
|
|
|
|
List bindings active for the key combination.
|
|
|
|
|
- ``keybinding clear <key> [<key>...]``
|
|
|
|
|
Remove bindings for the specified keys.
|
|
|
|
|
Remove bindings for the specified keys.
|
|
|
|
|
- ``keybinding add <key> "cmdline" ["cmdline"...]``
|
|
|
|
|
Add bindings for the specified key.
|
|
|
|
|
Add bindings for the specified key.
|
|
|
|
|
- ``keybinding set <key> "cmdline" ["cmdline"...]``
|
|
|
|
|
Clear, and then add bindings for the specified key.
|
|
|
|
|
Clear, and then add bindings for the specified key.
|
|
|
|
|
|
|
|
|
|
The ``<key>`` parameter above has the following **case-sensitive** syntax::
|
|
|
|
|
|
|
|
|
@ -49,8 +49,7 @@ Interactive commands like `liquids` cannot be used as hotkeys.
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
|
|
- ``keybinding add Alt-F1 hotkeys``
|
|
|
|
|
Bind Alt-F1 to run the `hotkeys` command on any screen at any time.
|
|
|
|
|
Bind Alt-F1 to run the `hotkeys` command on any screen at any time.
|
|
|
|
|
- ``keybinding add Alt-F@dwarfmode gui/quickfort``
|
|
|
|
|
Bind Alt-F to run `gui/quickfort`, but only when on a screen that shows the
|
|
|
|
|
main map.
|
|
|
|
|
|
|
|
|
|
Bind Alt-F to run `gui/quickfort`, but only when on a screen that shows the
|
|
|
|
|
main map.
|
|
|
|
|