2022-07-10 09:54:55 -06:00
|
|
|
# Default DFHack keybindings
|
|
|
|
|
|
|
|
# Please do not edit this file directly. It will be overwritten with new
|
|
|
|
# defaults when you update DFHack. Instead, add your configuration to
|
|
|
|
# dfhack-config/init/dfhack.init
|
|
|
|
|
2012-01-24 04:36:30 -07:00
|
|
|
##############################
|
|
|
|
# Generic dwarfmode bindings #
|
|
|
|
##############################
|
|
|
|
|
2022-08-07 23:50:47 -06:00
|
|
|
# the GUI command launcher (two bindings since some keyboards don't have `)
|
2022-07-11 18:23:56 -06:00
|
|
|
keybinding add ` gui/launcher
|
2022-08-07 23:50:47 -06:00
|
|
|
keybinding add Ctrl-Shift-D gui/launcher
|
2022-07-11 18:23:56 -06:00
|
|
|
|
2014-09-08 23:04:56 -06:00
|
|
|
# show all current key bindings
|
|
|
|
keybinding add Ctrl-F1 hotkeys
|
2014-12-02 16:01:53 -07:00
|
|
|
keybinding add Alt-F1 hotkeys
|
2014-09-08 23:04:56 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# toggle the display of water level as 1-7 tiles
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-W twaterlvl
|
|
|
|
|
|
|
|
# with cursor:
|
2012-11-10 23:58:05 -07:00
|
|
|
|
|
|
|
# designate the whole vein for digging
|
2012-04-08 16:59:22 -06:00
|
|
|
keybinding add Ctrl-V digv
|
|
|
|
keybinding add Ctrl-Shift-V "digv x"
|
2012-11-10 23:58:05 -07:00
|
|
|
|
|
|
|
# clean the selected tile of blood etc
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-C spotclean
|
2012-11-10 23:58:05 -07:00
|
|
|
|
|
|
|
# destroy items designated for dump in the selected tile
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-Shift-K autodump-destroy-here
|
|
|
|
|
2014-09-09 01:55:33 -06:00
|
|
|
# set the zone or cage under the cursor as the default
|
|
|
|
keybinding add Alt-Shift-I@dwarfmode/Zones "zone set"
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# with an item selected:
|
|
|
|
|
|
|
|
# destroy the selected item
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-K autodump-destroy-item
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# scripts:
|
|
|
|
|
2012-06-06 09:05:07 -06:00
|
|
|
# quicksave, only in main dwarfmode screen and menu page
|
|
|
|
keybinding add Ctrl-Alt-S@dwarfmode/Default quicksave
|
|
|
|
|
2022-08-07 23:50:47 -06:00
|
|
|
# apply blueprints to the map (Alt-F for compatibility with LNP Quickfort)
|
2022-04-29 21:24:09 -06:00
|
|
|
keybinding add Ctrl-Shift-Q@dwarfmode gui/quickfort
|
2022-06-02 16:51:45 -06:00
|
|
|
keybinding add Alt-F@dwarfmode gui/quickfort
|
2022-04-29 21:24:09 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# gui/rename script - rename units and buildings
|
2012-09-05 11:27:42 -06:00
|
|
|
keybinding add Ctrl-Shift-N gui/rename
|
2012-11-07 02:31:36 -07:00
|
|
|
keybinding add Ctrl-Shift-T "gui/rename unit-profession"
|
2012-09-05 11:27:42 -06:00
|
|
|
|
2014-02-13 14:55:13 -07:00
|
|
|
# a dfhack prompt in df. Sublime text like.
|
|
|
|
keybinding add Ctrl-Shift-P command-prompt
|
|
|
|
|
2014-09-09 01:55:33 -06:00
|
|
|
# show information collected by dwarfmonitor
|
|
|
|
keybinding add Alt-M@dwarfmode/Default "dwarfmonitor prefs"
|
|
|
|
keybinding add Ctrl-F@dwarfmode/Default "dwarfmonitor stats"
|
|
|
|
|
2015-08-10 21:24:24 -06:00
|
|
|
# export a Dwarf's preferences screen in BBCode to post to a forum
|
2014-09-09 01:55:33 -06:00
|
|
|
keybinding add Ctrl-Shift-F@dwarfmode forum-dwarves
|
|
|
|
|
2016-07-31 23:48:21 -06:00
|
|
|
# an in-game init file editor
|
|
|
|
keybinding add Alt-S@title gui/settings-manager
|
|
|
|
keybinding add Alt-S@dwarfmode/Default gui/settings-manager
|
|
|
|
|
2016-08-25 10:14:44 -06:00
|
|
|
# change quantity of manager orders
|
2017-05-26 22:56:40 -06:00
|
|
|
keybinding add Alt-Q@jobmanagement/Main gui/manager-quantity
|
2016-08-25 10:14:44 -06:00
|
|
|
|
2021-01-03 20:12:20 -07:00
|
|
|
# re-check manager orders
|
|
|
|
keybinding add Alt-R@jobmanagement/Main workorder-recheck
|
|
|
|
|
2018-01-21 15:44:31 -07:00
|
|
|
# view combat reports for the selected unit/corpse/spatter
|
|
|
|
keybinding add Ctrl-Shift-R view-unit-reports
|
|
|
|
|
2018-05-16 17:45:47 -06:00
|
|
|
# view extra unit information
|
|
|
|
keybinding add Alt-I@dwarfmode/ViewUnits|unitlist gui/unit-info-viewer
|
|
|
|
|
2022-06-22 04:33:54 -06:00
|
|
|
# set workorder item details (on workorder details screen press D again)
|
|
|
|
keybinding add D@workquota_details gui/workorder-details
|
|
|
|
|
2012-02-25 06:08:05 -07:00
|
|
|
##############################
|
|
|
|
# Generic adv mode bindings #
|
|
|
|
##############################
|
|
|
|
|
2014-12-19 23:08:07 -07:00
|
|
|
keybinding add Ctrl-B@dungeonmode adv-bodyswap
|
|
|
|
keybinding add Ctrl-Shift-B@dungeonmode "adv-bodyswap force"
|
|
|
|
keybinding add Shift-O@dungeonmode gui/companion-order
|
2018-05-16 17:45:47 -06:00
|
|
|
keybinding add Ctrl-T@dungeonmode gui/advfort
|
|
|
|
keybinding add Ctrl-A@dungeonmode/ConversationSpeak adv-rumors
|
2012-02-25 06:08:05 -07:00
|
|
|
|
2014-05-04 22:59:59 -06:00
|
|
|
##############################
|
|
|
|
# Generic legends bindings #
|
|
|
|
##############################
|
|
|
|
|
|
|
|
# export all information, or just the detailed maps (doesn't handle site maps)
|
|
|
|
keybinding add Ctrl-A@legends "exportlegends all"
|
|
|
|
|
2012-01-24 04:36:30 -07:00
|
|
|
#############################
|
|
|
|
# Context-specific bindings #
|
|
|
|
#############################
|
|
|
|
|
2013-04-24 05:47:37 -06:00
|
|
|
# Stocks plugin
|
|
|
|
keybinding add Ctrl-Shift-Z@dwarfmode/Default "stocks show"
|
|
|
|
|
2014-05-06 20:26:18 -06:00
|
|
|
# open an overview window summarising some stocks (dfstatus)
|
2014-06-27 01:52:36 -06:00
|
|
|
keybinding add Ctrl-Shift-I@dwarfmode/Default "gui/dfstatus"
|
2015-04-18 17:19:43 -06:00
|
|
|
keybinding add Ctrl-Shift-I@dfhack/lua/dfstatus "gui/dfstatus"
|
2014-05-06 20:26:18 -06:00
|
|
|
|
2014-12-02 12:23:12 -07:00
|
|
|
# q->stockpile - copy & paste stockpiles
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Alt-P copystock
|
|
|
|
|
2014-12-02 12:23:12 -07:00
|
|
|
# q->stockpile - load and save stockpile settings out of game
|
|
|
|
keybinding add Alt-L@dwarfmode/QueryBuilding/Some/Stockpile "gui/stockpiles -load"
|
|
|
|
keybinding add Alt-S@dwarfmode/QueryBuilding/Some/Stockpile "gui/stockpiles -save"
|
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# q->workshop - duplicate the selected job
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Ctrl-D job-duplicate
|
|
|
|
|
|
|
|
# materials: q->workshop; b->select items
|
|
|
|
keybinding add Shift-A "job-material ALUNITE"
|
|
|
|
keybinding add Shift-M "job-material MICROCLINE"
|
|
|
|
keybinding add Shift-D "job-material DACITE"
|
|
|
|
keybinding add Shift-R "job-material RHYOLITE"
|
|
|
|
keybinding add Shift-I "job-material CINNABAR"
|
|
|
|
keybinding add Shift-B "job-material COBALTITE"
|
|
|
|
keybinding add Shift-O "job-material OBSIDIAN"
|
2012-09-28 03:32:41 -06:00
|
|
|
keybinding add Shift-T "job-material ORTHOCLASE"
|
2012-01-24 04:36:30 -07:00
|
|
|
keybinding add Shift-G "job-material GLASS_GREEN"
|
2012-08-20 13:04:01 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# sort units and items in the on-screen list
|
2012-09-28 08:01:17 -06:00
|
|
|
keybinding add Alt-Shift-N "sort-units name" "sort-items description"
|
|
|
|
keybinding add Alt-Shift-R "sort-units arrival"
|
|
|
|
keybinding add Alt-Shift-T "sort-units profession" "sort-items type material"
|
|
|
|
keybinding add Alt-Shift-Q "sort-units squad_position" "sort-items quality"
|
|
|
|
|
2012-08-20 13:04:01 -06:00
|
|
|
# browse linked mechanisms
|
|
|
|
keybinding add Ctrl-M@dwarfmode/QueryBuilding/Some gui/mechanisms
|
2012-08-24 08:26:18 -06:00
|
|
|
|
|
|
|
# browse rooms of same owner
|
2012-09-14 02:14:36 -06:00
|
|
|
keybinding add Alt-R@dwarfmode/QueryBuilding/Some gui/room-list
|
2012-08-25 00:37:03 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# interface for the liquids plugin - spawn water/magma/obsidian
|
2012-08-25 00:37:03 -06:00
|
|
|
keybinding add Alt-L@dwarfmode/LookAround gui/liquids
|
2012-08-26 11:19:56 -06:00
|
|
|
|
2012-09-06 02:37:29 -06:00
|
|
|
# machine power sensitive pressure plate construction
|
|
|
|
keybinding add Ctrl-Shift-M@dwarfmode/Build/Position/Trap gui/power-meter
|
|
|
|
|
2012-09-17 07:19:24 -06:00
|
|
|
# siege engine control
|
|
|
|
keybinding add Alt-A@dwarfmode/QueryBuilding/Some/SiegeEngine gui/siege-engine
|
|
|
|
|
2012-09-29 07:21:49 -06:00
|
|
|
# military weapon auto-select
|
|
|
|
keybinding add Ctrl-W@layer_military/Equip/Customize/View gui/choose-weapons
|
|
|
|
|
2014-03-24 09:39:34 -06:00
|
|
|
# military copy uniform
|
|
|
|
keybinding add Ctrl-C@layer_military/Uniforms gui/clone-uniform
|
|
|
|
|
2012-10-11 09:32:41 -06:00
|
|
|
# minecart Guide path
|
|
|
|
keybinding add Alt-P@dwarfmode/Hauling/DefineStop/Cond/Guide gui/guide-path
|
|
|
|
|
2012-10-20 11:57:36 -06:00
|
|
|
# workshop job details
|
2012-10-21 11:45:51 -06:00
|
|
|
keybinding add Alt-A@dwarfmode/QueryBuilding/Some/Workshop/Job gui/workshop-job
|
2012-10-20 11:57:36 -06:00
|
|
|
|
2017-04-29 09:06:29 -06:00
|
|
|
# workflow front-end
|
|
|
|
keybinding add Alt-W@dwarfmode/QueryBuilding/Some/Workshop/Job gui/workflow
|
|
|
|
keybinding add Alt-W@overallstatus "gui/workflow status"
|
2017-05-05 15:36:34 -06:00
|
|
|
# equivalent to the one above when gui/extended-status is enabled
|
|
|
|
keybinding add Alt-W@dfhack/lua/status_overlay "gui/workflow status"
|
2017-04-29 09:06:29 -06:00
|
|
|
|
2013-04-06 07:10:13 -06:00
|
|
|
# autobutcher front-end
|
|
|
|
keybinding add Shift-B@pet/List/Unit "gui/autobutcher"
|
|
|
|
|
2017-07-05 21:54:55 -06:00
|
|
|
# view pathable tiles from active cursor
|
|
|
|
keybinding add Alt-Shift-P@dwarfmode/LookAround gui/pathable
|