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
|
|
|
|
|
2022-10-19 15:01:35 -06:00
|
|
|
###################
|
2022-11-11 15:48:14 -07:00
|
|
|
# global bindings #
|
2022-10-19 15:01:35 -06:00
|
|
|
###################
|
2012-01-24 04:36:30 -07:00
|
|
|
|
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
|
|
|
|
2022-11-07 12:36:15 -07:00
|
|
|
# show hotkey popup menu
|
2022-11-11 19:05:07 -07:00
|
|
|
keybinding add Ctrl-Shift-C hotkeys
|
2014-09-08 23:04:56 -06:00
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# a dfhack prompt in df. Sublime text like.
|
|
|
|
keybinding add Ctrl-Shift-P command-prompt
|
|
|
|
|
2022-10-19 15:01:35 -06:00
|
|
|
# on-screen keyboard
|
|
|
|
keybinding add Ctrl-Shift-K gui/cp437-table
|
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# an in-game init file editor
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Alt-S@title|dwarfmode/Default|dungeonmode gui/settings-manager
|
2022-11-11 15:48:14 -07:00
|
|
|
|
|
|
|
|
|
|
|
######################
|
|
|
|
# dwarfmode bindings #
|
|
|
|
######################
|
|
|
|
|
|
|
|
# quicksave, only in main dwarfmode screen and menu page
|
|
|
|
keybinding add Ctrl-Alt-S@dwarfmode/Default quicksave
|
2022-10-19 15:01:35 -06:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# toggle the display of water level as 1-7 tiles
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-W@dwarfmode|dungeonmode twaterlvl
|
2012-01-24 04:36:30 -07:00
|
|
|
|
2012-11-10 23:58:05 -07:00
|
|
|
# designate the whole vein for digging
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-V@dwarfmode digv
|
|
|
|
keybinding add Ctrl-Shift-V@dwarfmode "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 the selected item
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-K@dwarfmode autodump-destroy-item
|
2012-01-24 04:36:30 -07:00
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# destroy items designated for dump in the selected tile
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-Shift-K@dwarfmode autodump-destroy-here
|
2012-06-06 09:05:07 -06:00
|
|
|
|
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
|
|
|
|
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"
|
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# set the zone or cage under the cursor as the default
|
|
|
|
keybinding add Alt-Shift-I@dwarfmode/Zones "zone set"
|
2014-09-09 01:55:33 -06:00
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# Stocks plugin
|
|
|
|
keybinding add Ctrl-Shift-Z@dwarfmode/Default "stocks show"
|
|
|
|
|
|
|
|
# open an overview window summarising some stocks (dfstatus)
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-Shift-I@dwarfmode/Default|dfhack/lua/dfstatus gui/dfstatus
|
2016-07-31 23:48:21 -06:00
|
|
|
|
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
|
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# set workorder item details (on workorder details screen press D again)
|
2022-09-07 23:02:33 -06:00
|
|
|
keybinding add D@workquota_details gui/workorder-details
|
|
|
|
|
2018-01-21 15:44:31 -07:00
|
|
|
# view combat reports for the selected unit/corpse/spatter
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-Shift-R@dwarfmode|unit|unitlist|joblist|dungeon_monsterstatus|layer_unit_relationship|item|workshop_profile|layer_noblelist|locations|pets|layer_overall_health|textviewer|reportlist|announcelist|layer_military|layer_unit_health|customize_unit|buildinglist|workshop_profile view-unit-reports
|
2018-01-21 15:44:31 -07:00
|
|
|
|
2018-05-16 17:45:47 -06:00
|
|
|
# view extra unit information
|
|
|
|
keybinding add Alt-I@dwarfmode/ViewUnits|unitlist gui/unit-info-viewer
|
|
|
|
|
2022-08-19 10:38:03 -06:00
|
|
|
# boost priority of jobs related to the selected entity
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Alt-N@dwarfmode|job|joblist|unit|unitlist|joblist|dungeon_monsterstatus|layer_unit_relationship|item|layer_noblelist|locations|pets|layer_overall_health|textviewer|reportlist|announcelist|layer_military|layer_unit_health|customize_unit|buildinglist|textviewer|item|layer_assigntrade|tradegoods|store|assign_display_item|treasurelist do-job-now
|
2022-08-19 10:34:38 -06:00
|
|
|
|
2022-11-11 15:48:14 -07:00
|
|
|
# export a Dwarf's preferences screen in BBCode to post to a forum
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-Shift-F@textviewer forum-dwarves
|
2014-05-06 20:26:18 -06:00
|
|
|
|
2014-12-02 12:23:12 -07:00
|
|
|
# q->stockpile - copy & paste stockpiles
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Alt-P@dwarfmode/QueryBuilding/Some/Stockpile copystock
|
2012-01-24 04:36:30 -07:00
|
|
|
|
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
|
2022-11-11 15:48:14 -07:00
|
|
|
keybinding add Shift-B@pet/List/Unit gui/autobutcher
|
2013-04-06 07:10:13 -06:00
|
|
|
|
2017-07-05 21:54:55 -06:00
|
|
|
# view pathable tiles from active cursor
|
|
|
|
keybinding add Alt-Shift-P@dwarfmode/LookAround gui/pathable
|
2022-11-11 15:48:14 -07:00
|
|
|
|
|
|
|
# gui/rename script - rename units and buildings
|
2022-11-11 15:54:45 -07:00
|
|
|
keybinding add Ctrl-Shift-N@dwarfmode|unit|unitlist|joblist|dungeon_monsterstatus|layer_unit_relationship|item|workshop_profile|layer_noblelist|locations|pets|layer_overall_health|textviewer|reportlist|announcelist|layer_military|layer_unit_health|customize_unit|buildinglist gui/rename
|
|
|
|
keybinding add Ctrl-Shift-T@dwarfmode|unit|unitlist|joblist|dungeon_monsterstatus|layer_unit_relationship|item|workshop_profile|layer_noblelist|locations|pets|layer_overall_health|textviewer|reportlist|announcelist|layer_military|layer_unit_health|customize_unit "gui/rename unit-profession"
|
2022-11-11 15:48:14 -07:00
|
|
|
|
|
|
|
|
|
|
|
#####################
|
|
|
|
# adv mode bindings #
|
|
|
|
#####################
|
|
|
|
|
|
|
|
keybinding add Ctrl-A@dungeonmode/ConversationSpeak adv-rumors
|
|
|
|
keybinding add Ctrl-B@dungeonmode adv-bodyswap
|
|
|
|
keybinding add Ctrl-Shift-B@dungeonmode "adv-bodyswap force"
|
|
|
|
keybinding add Shift-O@dungeonmode gui/companion-order
|
|
|
|
keybinding add Ctrl-T@dungeonmode gui/advfort
|
|
|
|
|
|
|
|
|
|
|
|
#########################
|
|
|
|
# legends mode bindings #
|
|
|
|
#########################
|
|
|
|
|
|
|
|
# export all information, or just the detailed maps (doesn't handle site maps)
|
|
|
|
keybinding add Ctrl-A@legends "exportlegends all"
|