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

Keyboard shortcuts

On a Mac, use ⌘ instead of Ctrl, and ⌥ (Option) instead of Alt. The commands pane (F1) lists the same shortcuts, and runs a command when you click it.

Files and view

KeysCommand
Ctrl+SSave
Alt+NNew document
Ctrl+BShow or hide the navigation pane
F1Show the commands
Alt+CShow the comments
Alt+UShow the document's text, read-only
Alt+TSwitch between the light and dark theme

Reload document, which reads the document from its file again, Show the cell's errors, and the commands that hide lines have no shortcut: run them from the commands pane.

In the navigation pane

When an item of the tree has the focus:

KeysCommand
F2Rename the document, file or folder
DeleteDelete the document, file or folder

Lines

When no line is being edited:

KeysCommand
↑ / ↓Select the line above or below
Shift+↑ / ↓, Shift+clickSelect several lines
Enter, F2, double clickEdit the selected line
Alt+EnterInsert an empty line below
Alt+Shift+EnterInsert an empty line above
Alt+↑ / ↓Move the selected lines up or down
Delete, BackspaceDelete the selected lines
Ctrl+C / Ctrl+X / Ctrl+VCopy, cut and paste lines
Ctrl+ZUndo
Ctrl+Shift+Z, Ctrl+YRedo
Ctrl+/Change the type of the selected lines
=Make the line a Formula cell and edit it
RMake the line rich text and edit it
TMake the line Text and edit it
MMake the line Markdown and edit it
Shift+TMake the line a Table and edit it
DMake the line a Data table and edit it
CMake the line a Chart and edit it
Shift+F2Show the comments of the selected line

Pasted lines replace the selected ones, as in a spreadsheet.

While editing a line

KeysCommand
Ctrl+EnterKeep the changes and leave the line
EscapeDiscard the changes and leave the line
EnterStart a new line of text inside the cell
Ctrl+EInsert a formula, <% %>, around the selected text if there is any (Markdown, Text)
Shift+F2Insert a comment, <!--[ ]-->
Ctrl+Z / Ctrl+Shift+ZUndo and redo inside the cell

A click on another line keeps the changes of the line you are editing, as in Excel. If the line cannot be kept, it stays open and says why.

While editing rich text

KeysCommand
Ctrl+B, Ctrl+I, Ctrl+UBold, italic, underline
Ctrl+=, Ctrl+Shift+=Subscript, superscript
Ctrl+Alt+1, 2, 3Heading 1, 2, 3
Ctrl+Alt+0Normal text
Ctrl+KAdd or change a link
Ctrl+EInsert a formula
Shift+F2Add a comment
Tab, Shift+TabIndent or outdent a list item
EnterStart a new paragraph
Shift+EnterA line break inside a paragraph
↑ / ↓Move inside the line

In the field of a formula, an equation, a link or a comment: Enter applies, Shift+Enter starts a new line, Escape cancels.

While editing a table or a data table

KeysCommand
Tab, Shift+TabGo to the next or previous field; Tab in the last field adds a row
↑ / ↓Go to the field above or below
Ctrl+EnterKeep the changes and leave the line
EscapeDiscard the changes and leave the line

While editing a chart

KeysCommand
Tab, Shift+Tab, ↑ / ↓Go to the next or previous field
Ctrl+EnterKeep the changes and leave the line
EscapeDiscard the changes and leave the line

In the type menu

KeysCommand
↑ / ↓, or a type's first letterPick a type
Enter, SpaceApply it
Escape, TabClose the menu