dfhack/docs/plugins/hotkeys.rst

33 lines
1.2 KiB
ReStructuredText

hotkeys
=======
.. dfhack-tool::
2022-11-11 19:04:42 -07:00
:summary: Show all DFHack keybindings for the current context.
2022-08-12 00:34:37 -06:00
:tags: dfhack
The command opens an in-game screen showing which DFHack keybindings are active
in the current context. See also `hotkey-notes`.
2022-08-17 23:42:02 -06:00
Usage
-----
2022-11-11 19:04:42 -07:00
``hotkeys``
Show the list of keybindings for the current context in an in-game menu.
``hotkeys list``
List the keybindings to the console.
2022-07-25 22:54:34 -06:00
2022-11-11 19:04:42 -07:00
Menu overlay widget
-------------------
2022-07-25 22:54:34 -06:00
2022-11-11 19:04:42 -07:00
The in-game hotkeys menu is registered with the `overlay` framework and can be
enabled as a hotspot in the upper-left corner of the screen. You can bring up
the menu by hovering the mouse cursor over the hotspot and can select a command
to run from the list by clicking on it with the mouse or by using the keyboard
to select a command with the arrow keys and hitting :kbd:`Enter`.
A short description of the command will appear in a nearby textbox. If you'd
like to see the full help text for the command or edit the command before
running, you can open it for editing in `gui/launcher` by right clicking on the
command, left clicking on the arrow to the left of the command, or by pressing
the right arrow key while the command is selected.