In other languages: Русский Українська

Tutorial:Keyboard shortcuts: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (verified some of the Shift+LMB keybind names)
m (added {{Languages}})
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
Factorio has a lot of keybinds, and it's not hard to miss (or underestimate) some of the "quality of life" shortcuts in the game.  The following are a collection of keybind-related tips that explain some of the less obvious shortcuts in Factorio.
{{Languages}}Factorio has a lot of [[keyboard bindings]], and it's not hard to miss (or underestimate) some of the "quality of life" features related to them.  The following are a collection of explanations for these inconspicuous keyboard bindings.  Because many of the keyboard bindings are contextual and are bound to the same key sequence by default, this article uses the '''internal name''' for these keyboard bindings and, for convenience, shows their default bindings after their name.


== Manipulating entities ==
== Manipulating entities ==


* Factorio has copy and paste functionality for almost any entity that has settings: '''Copy entity settings''' ({{keybinding|Shift|Right mouse button}}) and '''Paste entity settings''' ({{keybinding|Shift|Left mouse button}}).  Holding down the '''Paste entity settings''' shortcut and dragging can paste to multiple entities with a single stroke.  This works for:
* '''Copy entity settings''' ({{keybinding|Shift|Right mouse button}}) and '''Paste entity settings''' ({{keybinding|Shift|Left mouse button}}) allows you to copy settings between entities.  Holding down the '''Paste entity settings''' keyboard binding while moving or dragging can paste to multiple entities with a single stroke.  This works for:
** recipes for [[Assembling machine|assembling machines]], [[Chemical plant|chemical plants]], [[Oil refinery|oil refineries]] and [[Centrifuge|centrifuges]]
** recipes for [[Crafting#Automated_crafting|automated crafting machines]] (assembling machines, oil refineries, chemical plants and centrifuges)
** filters for [[Filter inserter|filter inserters]], [[Requester chest|requester chests]], [[Cargo wagon|cargo wagons]], and even single filtered slots.
** recipe requests; if a recipe is pasted onto a requester chest, it will request the recipe's ingredients.
** settings for [[circuit network]] connections, [[combinators]], [[Lamp|lamps]], [[Power switch|power switches]], etc.
** filters for filterable devices (filtered slots in an inventory, requester chests, filter inserters, and cargo wagons)
** [[locomotive]] color and schedule, and [[train stop]] names
** [[circuit network]] entities and connections (combinators, lamps, power switches, any entity's signal settings)
** recipe requests; if a recipe is pasted onto a [[requester chest]], it will request the recipe's ingredients; the quantity requested depends on crafting speed and [[modules]].
** [[railway]] settings, (locomotive color and schedule, train stop names, color between locomotives and stops)


* [[Electric pole|Electric poles]] can be disconnected with '''Remove pole cables''' ({{keybinding|Shift|Left mouse button}}).  Alternately, a single connection between two poles can be added or removed by clicking both poles with a [[copper cable]].
* '''Remove pole cables''' ({{keybinding|Shift|Left mouse button}}) disconnects electric poles from their neighbors.  Alternately, a single connection between two poles can be added or removed by clicking both poles with a copper cable.


* Entities can be rotated clockwise with '''Rotate''' ({{keybinding|R}}) and counter-clockwise with '''Reverse rotate''' ({{keybinding|Shift|R}}).  This shortcut also reverses the directions that [[Pump|pumps]], [[Underground belt|underground belts]], and [[Locomotive|locomotives]] face.
* '''Rotate''' ({{keybinding|R}}) and '''Reverse rotate''' ({{keybinding|Shift|R}}) rotate entities clockwise and counter-clockwise, respectively.  This also reverses the directions that pumps, underground belts, and locomotives face.


== Manipulating items ==
== Manipulating items ==


* While "empty-handed," '''Fast entity transfer''' ({{keybinding|Ctrl|Left mouse button}}) grabs items from an entity without having to open it.  When held down, this shortcut can gather items from multiple entities by dragging over them with a single stroke.  As a general rule of thumb, this shortcut grabs everything that an [[inserter]] would grab out of the entity; i.e., the outputs of [[Furnace|furnaces]]/[[Assembling machine|assembling machines]], [[Science pack|science packs]] from [[Lab|labs]], etc.
* '''Fast entity transfer''' ({{keybinding|Ctrl|Left mouse button}}) while empty-handed grabs items from an entity without having to open it.  When held down, this gathers items from multiple entities by dragging over them with a single stroke.  As a general rule of thumb, this grabs everything that an inserter would grab; i.e., the outputs of furnaces and automatic crafting machines, science packs from labs, etc.
** '''Fast entity split''' ({{keybinding|Ctrl|Right mouse button}}) only moves half of what is inside the entity into the user's inventory.


* With items in hand, '''Inventory transfer''' ({{keybinding|Ctrl|Left mouse button}}) fills an entity's inventory or input slots with the held itemDragging this shortcut over multiple entities can be used to fill them with a single motion.  As a rule of thumb, this shortcut inserts anything that an [[inserter]] would put into an entity; For example, you can grab some [[fuel]], hold this shortcut and drag over [[Furnace|furnaces]] or burner devices to refuel several of them in one stroke.
* '''Fast entity transfer''' ({{keybinding|Ctrl|Left mouse button}}) fills an entity's inventory or input slots with the item held in the cursorHolding down the '''Fast entity transfer''' keyboard binding while moving or dragging over multiple entities can be used to stock them with a single motion.  As a rule of thumb, this inserts anything that an inserter would put into an entity; for example, you can grab some [[fuel]], hold the '''Fast entity transfer''' keyboard binding, and drag over fuel-burning entities to refuel several of them in one stroke.
** '''Fast entity split''' ({{keybinding|Ctrl|Right mouse button}}) only moves half of what is held in the cursor into the entity.


* To filter an inventory slot so that it only accepts a certain item, click the slot with '''Toggle filter''' ({{keybinding|Middle mouse button}}).  If the slot is empty, the filter can be chosen from a list of all solid [[items]].  This works for slots in the player's toolbelt quickbar, [[car]] trunks, and [[Cargo wagon|cargo wagons]].  You can use the '''Copy entity settings''' and '''Paste entity settings''' shortcut to copy and paste filters between slots.
* '''Toggle filter''' ({{keybinding|Middle mouse button}}) sets a filter on an inventory slot.  If the slot is empty, the filter can be chosen from a list of all solid items.  This works for slots in the player's toolbelt quickbar, car trunks, and cargo wagons.  You can use the '''Copy entity settings''' and '''Paste entity settings''' keyboard bindings to copy and paste filters between slots.


== Construction tips ==
== Construction tips ==


* By placing an electric pole and keeping '''Build''' ({{keybinding|Left mouse button}}) held, moving the mouse or player in any direction will begin ''smart placement''.  While the '''Build''' button is held, poles will be automatically placed when they reach their ''maximum wire reach distance''If there are unpowered entities on the route, the poles will be placed "early" (before the ''maximum wire reach distance'') to power those entities.
* '''Larger terrain building area''' ({{keybinding|PAD +}}) and '''Smaller terrain building area''' ({{keybinding|PAD -}}) adjust the brush size when building tiles such as landfill and concrete.  The brush size can range from 1x1 to 10x10.
** The ''smart placement'' feature also works with [[Underground belt|underground belts]] and [[Pipe to ground|pipes]].


* Using '''Build ghost''' ({{keybinding|Shift|Left mouse button}}) when placing an entity will instead place a [[Glossary#G|ghost]] version of the entityGhosts can be captured by blueprints.
* '''Build''' ({{keybinding|Left mouse button}}) has a smart placement feature for power poles that is activated by holding '''Build''' while moving or dragging.  While the '''Build''' keyboard binding is held, poles will be automatically placed when they reach their ''maximum wire reach distance''If there are unpowered entities on the route, the poles will be placed "early" (before the ''maximum wire reach distance'') to power those entities.
** This feature also works with underground belts and pipes.


* Using '''Build ghost''' ({{keybinding|Shift|Left mouse button}}) to place a [[blueprint]] will force-place it and mark any obstructions for deconstruction, as a [[deconstruction planner]] would.
* '''Select for cancel deconstruction''' ({{keybinding|Shift|Left mouse button}}) is used to unmark entities for deconstruction.  Pick up a deconstruction planner in the cursor, hold the keyboard binding, and drag the blue selection rectangle over the entities to be unmarked.


* '''Build ghost''' ({{keybinding|Shift|Left mouse button}}) will place a [[Glossary#G|ghost]] version of the entity in hand.
** Placing a blueprint with '''Build ghost''' will force-place it and mark any trees and rocks for deconstruction.


* Entities marked for deconstruction can be unmarked.  With a [[deconstruction planner]] in hand, hold '''Select for cancel deconstruction''' ({{keybinding|Shift|Left mouse button}}) and drag to select the entities to be unmarked.
* '''Pipette tool''' ({{keybinding|Q}}) is used to quickly put an item in hand without searching through the inventory (similar to a "color picker" or "eyedropper" tool in a graphics program).  Simply hover over an entity and press the keyboard binding.  If the player's inventory contains that item, it will be placed in the cursor.  This keyboard binding is also used for putting a held item away.


== Display options ==


* The pipette tool is used to quickly put an item in hand without searching through the inventory (similar to a "color picker" or "eyedropper" tool in a graphics program).  To use it, hover over an entity and press '''Pipette tool''' ({{keybinding|Q}}).  If the player's inventory contains that item, it will be placed in the cursorThis shortcut is also used for removing the item from the cursor ("emptying hands").
* '''Show info''' ({{keybinding|Alt}}) turns on an info overlay that displays entities' recipes, filters, and inventories at a glanceThe overlay will also show directional arrows over inserters that makes their orientation more obvious.


== Display shortcuts ==
* Many systems in the game can be visualized with the customizable [[debug mode]].  This can display color coded [[Rail signal|rail blocks]], current FPS/UPS, and many more informational overlays.
 
** '''Toggle debug settings GUI''' ({{keybinding|F4}}) configures the debug mode views.
* In order to see entities' recipes, filters, and inventories at a glance, use '''Show info''' ({{keybinding|Alt}}) to turn on the info overlay.  The overlay will also show directional arrows over [[Inserter|inserters]] that makes their orientation more obvious.  <sup>''[more?]''</sup> 
** '''Toggle basic debug''' ({{keybinding|F5}}), '''Toggle detailed debug''' ({{keybinding|F6}}) and '''Toggle full debug''' ({{keybinding|F7}}) switches between them.
 
* Many systems in the game can be visualized with the customizable [[debug mode]].  This can display color coded [[Rail signal|rail blocks]], current FPS/UPS, and many more informational overlays. Use '''Toggle debug settings GUI''' ({{keybinding|F4}}) to configure the debug mode views, and '''Toggle basic debug''' ({{keybinding|F5}}), '''Toggle detailed debug''' ({{keybinding|F6}}) and '''Toggle full debug''' ({{keybinding|F7}}) to switch between them.


== See also ==
== See also ==


* [[Keyboard bindings]]
* [[Keyboard bindings]]
* [[Debug mode]]
* [https://www.reddit.com/r/factorio/comments/5odbdf/til_all_the_keyboard_shortcuts/ TIL all the keyboard shortcuts], a reddit guide to commonly missed keyboard bindings

Latest revision as of 09:27, 9 July 2018

Factorio has a lot of keyboard bindings, and it's not hard to miss (or underestimate) some of the "quality of life" features related to them. The following are a collection of explanations for these inconspicuous keyboard bindings. Because many of the keyboard bindings are contextual and are bound to the same key sequence by default, this article uses the internal name for these keyboard bindings and, for convenience, shows their default bindings after their name.

Manipulating entities

  • Copy entity settings (Shift + Right mouse button) and Paste entity settings (Shift + Left mouse button) allows you to copy settings between entities. Holding down the Paste entity settings keyboard binding while moving or dragging can paste to multiple entities with a single stroke. This works for:
    • recipes for automated crafting machines (assembling machines, oil refineries, chemical plants and centrifuges)
    • recipe requests; if a recipe is pasted onto a requester chest, it will request the recipe's ingredients.
    • filters for filterable devices (filtered slots in an inventory, requester chests, filter inserters, and cargo wagons)
    • circuit network entities and connections (combinators, lamps, power switches, any entity's signal settings)
    • railway settings, (locomotive color and schedule, train stop names, color between locomotives and stops)
  • Remove pole cables (Shift + Left mouse button) disconnects electric poles from their neighbors. Alternately, a single connection between two poles can be added or removed by clicking both poles with a copper cable.
  • Rotate (R) and Reverse rotate (Shift + R) rotate entities clockwise and counter-clockwise, respectively. This also reverses the directions that pumps, underground belts, and locomotives face.

Manipulating items

  • Fast entity transfer (Ctrl + Left mouse button) while empty-handed grabs items from an entity without having to open it. When held down, this gathers items from multiple entities by dragging over them with a single stroke. As a general rule of thumb, this grabs everything that an inserter would grab; i.e., the outputs of furnaces and automatic crafting machines, science packs from labs, etc.
    • Fast entity split (Ctrl + Right mouse button) only moves half of what is inside the entity into the user's inventory.
  • Fast entity transfer (Ctrl + Left mouse button) fills an entity's inventory or input slots with the item held in the cursor. Holding down the Fast entity transfer keyboard binding while moving or dragging over multiple entities can be used to stock them with a single motion. As a rule of thumb, this inserts anything that an inserter would put into an entity; for example, you can grab some fuel, hold the Fast entity transfer keyboard binding, and drag over fuel-burning entities to refuel several of them in one stroke.
    • Fast entity split (Ctrl + Right mouse button) only moves half of what is held in the cursor into the entity.
  • Toggle filter (Middle mouse button) sets a filter on an inventory slot. If the slot is empty, the filter can be chosen from a list of all solid items. This works for slots in the player's toolbelt quickbar, car trunks, and cargo wagons. You can use the Copy entity settings and Paste entity settings keyboard bindings to copy and paste filters between slots.

Construction tips

  • Larger terrain building area (PAD +) and Smaller terrain building area (PAD -) adjust the brush size when building tiles such as landfill and concrete. The brush size can range from 1x1 to 10x10.
  • Build (Left mouse button) has a smart placement feature for power poles that is activated by holding Build while moving or dragging. While the Build keyboard binding is held, poles will be automatically placed when they reach their maximum wire reach distance. If there are unpowered entities on the route, the poles will be placed "early" (before the maximum wire reach distance) to power those entities.
    • This feature also works with underground belts and pipes.
  • Select for cancel deconstruction (Shift + Left mouse button) is used to unmark entities for deconstruction. Pick up a deconstruction planner in the cursor, hold the keyboard binding, and drag the blue selection rectangle over the entities to be unmarked.
  • Build ghost (Shift + Left mouse button) will place a ghost version of the entity in hand.
    • Placing a blueprint with Build ghost will force-place it and mark any trees and rocks for deconstruction.
  • Pipette tool (Q) is used to quickly put an item in hand without searching through the inventory (similar to a "color picker" or "eyedropper" tool in a graphics program). Simply hover over an entity and press the keyboard binding. If the player's inventory contains that item, it will be placed in the cursor. This keyboard binding is also used for putting a held item away.

Display options

  • Show info (Alt) turns on an info overlay that displays entities' recipes, filters, and inventories at a glance. The overlay will also show directional arrows over inserters that makes their orientation more obvious.
  • Many systems in the game can be visualized with the customizable debug mode. This can display color coded rail blocks, current FPS/UPS, and many more informational overlays.
    • Toggle debug settings GUI (F4) configures the debug mode views.
    • Toggle basic debug (F5), Toggle detailed debug (F6) and Toggle full debug (F7) switches between them.

See also