Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Keys

Keys act only while focus is inside the chart. The page starts with focus on the chart, and a click anywhere in it takes focus back. The table below is the one in docs/KEYS.md, included here so the two cannot drift.

The demo schedule with the cell cursor moved by the arrow keys: one row is selected and its Finish cell has a blue outline
The arrow keys move the cell cursor: down a row, right a column.
KeyAction
Ctrl+wheel or a trackpad pinch; wheel; dragZoom at the cursor, from years down to hours; scroll the rows; pan both axes. The toolbar’s Zoom group holds the Zoom out (-) and Zoom in (+) buttons and then the Fit button, after the Baseline and Progress groups, the Columns menu and the row buttons and before the empty space that pushes the notices and readouts to the right; Fit fits the project
Ctrl+F (Cmd+F)Go to the find box. Enter and Shift+Enter step through the matches, Escape clears the box; a whole YYYY-MM-DD date goes to that day on Enter
cJump to the next critical task (not while the cell cursor is in the list, see below)
Shift+CCritical only on or off (same exception)
Shift+LLongest path on or off (same exception)
Shift+SSlipped only on or off (same exception)
Shift+MShow moved on or off, the tasks the last edit or drag moved (same exception)
tGo to the data date (same exception)
fFit the project, as the Fit button does (same exception)
+ (or =), -Zoom in or out about the middle of the chart, as the Zoom buttons do (same exception)
?Open a list of the most used keys, with a link to this page, as the toolbar’s ? button does. Escape or Close shuts it; ? again does not. In a list cell ? types into the cell
Home, EndMove the cell cursor to the first or last column
PageUp, PageDown, Ctrl+Home, Ctrl+EndMove the selection one page of rows up or down, or to the first or last visible row (Cmd+Up and Cmd+Down on a Mac for Ctrl+Home and Ctrl+End)
1 to 9, 0Collapse to level 1 to 9, or expand all with 0 (same exception). The row at the top of the list stays there, or the summary that now holds it does
Click a list cell; Up, Down, Left, RightClick a cell to select its row and put the cell cursor on that column. Up and Down move the selection one visible row (a collapsed summary’s children are skipped, and the cursor stops at the first and last row; with nothing selected Down selects the first row); Left and Right move the cursor one column. They do nothing while a cell or the find box is being edited. A screen reader hears each newly selected task, by key or click: its name, start, finish, float and critical state, then, for a leaf, its percent complete when set, its predecessor and successor counts and its baseline start when set
Shift+Up, Shift+Down; Shift+Space; Shift+click a list cellSelect a range of rows: the selected row is the anchor, and Shift+Up and Shift+Down move the other end one visible row (collapsed children are skipped; the ends stop at the first and last row), Shift+click on a row extends the range to it, and Shift+Space makes the selected row a range of its own row. The range rows are tinted, in the table and across the timeline (the selected row’s fill, for the rows in view). A plain click or arrow, or Escape, ends the range; collapsing a summary over it keeps it, counting only the visible rows. They do nothing while a cell or the find box is being edited
Cell cursor in the list: Enter, F2, a printable key, Backspace, Tab, Shift+TabEdit from the cursor: the name, duration and Finish cells, the five progress cells (Actual start, Actual finish, Remaining, % complete and Physical %, with the Progress columns showing) and, in a file with activity IDs, Predecessors cells; a Predecessors cell takes a list such as 3, 5SS+1d. Enter or F2 opens the editor with the cell’s old text; a printable key opens it holding that key; Backspace opens it empty, and Escape then restores the old value. Enter commits and moves the cursor down one row; Tab commits and moves to the next cell of its group, Shift+Tab the other way. The groups are Name and Duration; Finish and Predecessors (Finish alone in a file with no activity IDs); and the five progress cells. At the end of a group Tab goes to the first cell of that group on the next row, Shift+Tab to the last cell of it on the previous row. Escape discards. A refused value keeps the editor open with the reason. A focused toolbar button keeps its own Enter and Space; any other key still goes to the cursor
The cell cursor’s place, in the listThe cursor is in the list from a click on a cell or an arrow until Escape, a click on the timeline, focus leaving the chart, the end of the selection, or its row being hidden (under a collapsed summary or by a filter); while it is there the chart’s letter keys (c, Shift+C, Shift+L, Shift+S, Shift+M, t, f, +, -, s, 0 to 9, *, [, ]) are suspended: on a cell that has a cursor editor they open it, on any other cell they do nothing
Ctrl+A (Cmd+A), Ctrl+C (Cmd+C)Ctrl+A makes every visible row a range. Ctrl+C copies the range, or the selected row, as tab-separated text that a spreadsheet pastes into cells. In a cell editor or the find box both act on the text, as usual
Alt+EnterWith a row selected, show its hover card beside the row, the card that hovering a bar shows. Another key, or a move of the pointer over the timeline, hides it
Shift+EnterWith a task selected, open one dialog with its name, duration, start, finish, percent complete, actual dates and remaining, start no later than, finish no earlier than, finish no later than and, when tasks have IDs, predecessors (3, 5SS+1d). Save (or Enter in a field) applies the fields you changed as one step that a single Ctrl+Z reverts; a field the chart refuses is named in the dialog, which stays open with nothing changed. Cancel or Escape closes it and changes nothing. F2 still opens the cell editor
Double-click a bar, or a list cell with no editor of its own (the ID or float cell)Open the same task dialog as Shift+Enter, on that task. A double-click on a name, duration, start, finish or progress cell still opens that cell’s editor
Alt+Left, Alt+RightCollapse or expand the selected summary; while grouped, close or open the focused header’s group, or the selected task’s
*Expand the selected summary and every summary below it (Alt+Right opens one level only). Not while the cell cursor is in the list, where * opens the editor on a cell that has a cursor editor
Alt+Shift+Right, Alt+Shift+LeftIndent the selected row under the row above it, or outdent it to just after its parent, adopting the siblings below it as its children, and refusing by name when that would give a row with links a child; Option+Shift on a Mac
Alt+Shift+Up, Alt+Shift+DownMove the selected row, with its subtree and links, above the sibling before it or below the sibling after it; one undo step, refused at the first and last sibling; Option+Shift on a Mac
Insert, Mod+EnterInsert a row below the selected row’s subtree and put the cell cursor on its name, so typing names it and Enter keeps it; the Mod form is for a keyboard with no Insert key
Ctrl+V (Cmd+V)With focus in the chart (not in a cell or the find box), paste plain text, one task name per line, as new rows below the selected row’s subtree: blank lines are skipped, names are trimmed, and the first new row is selected and scrolled to. One undo step for the whole list. A paste of more than 500 names, or one that a row filter or lookahead window would hide, shows its reason in the alert line and adds nothing; text with a tab in it (rows copied from a table) is not taken
Left, Right with focus on the list dividerMove the divider between the table and the canvas 16 px (drag it or double-click it with the pointer to set the width or put the default back); in a right-to-left chart, Left moves the divider left
Alt + drag from a leaf bar onto another barAdd a finish-to-start link (a plain drag from the dot beside the finish end of the hovered or selected bar does the same)
Drag the end of a leaf barWhen the pointer is over the end of a task bar, the pointer turns into a two-way arrow; drag the edge to change how long the task takes. One undo step; a task that has started keeps its duration and a note names the table cell to change
], [With a task selected (not while the cell cursor is in the list), select the next or previous link that starts or ends at it, in the order the links were added, wrapping at the ends; Delete then removes it
Enter with a link selectedOpen a small box with the link’s type and lag (FS, SS+2d, FF-1d); type a new one and press Enter to apply it as one undo step, or Escape to close the box. Text the engine refuses shows its reason and changes nothing
Delete, Mod+BackspaceDelete the selected link when one is selected, else the selected row; with a range of several rows selected it deletes nothing and the alert line says it works on one row; plain Backspace deletes no row (with the cell cursor in the list it opens the editor empty)
Ctrl+Z, Ctrl+Shift+Z, Ctrl+YUndo and redo an edit
Ctrl+S (Cmd+S)Save: download the open schedule as a .gantt file. It never writes over a file. With a cell being edited or a bar being dragged it saves nothing and says so in the alert line
Ctrl+O (Cmd+O)Open the file chooser, as Open a file… in the Open… menu does. Not while a cell is being edited or a bar is being dragged
sShow or hide a line of live numbers: the open time and the frame times on the hosted page, the full status line on the developer page (not while the cell cursor is in the list)
EscapeCancel a link drag in progress and clear the selection (task and link) and the cell cursor; in a cell editor it discards the edit