Skip to content

Commit

Permalink
Add Docs/Shortcuts.md: list of all notable keyboard shortcuts
Browse files Browse the repository at this point in the history
Basic shortcuts like keyboard navigation in a textbox, scrolling,
ESC to close modal, ... are not listed
  • Loading branch information
exyi committed Aug 21, 2024
1 parent e31bb90 commit b31e719
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Docs/Shortcuts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# YAFC keyboard shortcuts

## Global shortcuts

* **Ctrl+S** — Save changes in project.
* **Ctrl+F** — Find on page.
* **Ctrl+Z** — Undo last change
* **Ctrl+Y** or **Ctrl+Shift+Z** — Redo last undo.

## Navigation shortcuts

* **Ctrl+N** — Show NEIE (the Never Enough Items Explorer).

## Tabs shortcuts

* **Ctrl+T** — New production sheet (new tab).
* **Ctrl+Tab** or **Ctrl+PgDown** — Switch to next tab.
* **Ctrl+Shift+Tab** or **Ctrl+PgUp** — Switch to previous tab.
* **Ctrl+Shift+PgDown** — Move current tab right.
* **Ctrl+Shift+PgUp** — Move current tab left.
1 change: 1 addition & 0 deletions Yafc/Data/Tips.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Tip: Specify <number>/m to produce that many items (or fluid units) per minute,
Tip: Specify <number>b to produce that many belts worth of product, for the belt you've selected in the preferences
Tip: Specify <number>k to multiply the production by 1000. Other SI prefixes work too! (put the prefix before 'b' or '/h')
Tip: You can enable the dark mode by clicking on the light-bulb icon on the welcome screen.
Tip: You can switch between tabs using Ctrl+PgUp or Down and reorder them using Ctrl+Shift+PgUp or Down.

0 comments on commit b31e719

Please sign in to comment.