Skip to content

Keyboard shortcuts

This page lists every keyboard shortcut in Lyra. The Mac column uses ⌘ (Command), ⌥ (Option) and ⇧ (Shift). On Windows and Linux, use the keys in the Windows column.

The shortcuts work the same in the browser and in the desktop app. The desktop app adds a few of its own, at the end of this page.

Action Mac Windows
Open or close search ⌘K or ⌘P Ctrl+K or Ctrl+P
Show or hide the sidebar ⌘\ Ctrl+\
Switch between light and dark theme ⌘⇧L Ctrl+Shift+L
Open settings ⌘, Ctrl+,

These work while search is open.

Action Mac Windows
Move through the results ↑ ↓ ↑ ↓
Open the page, or run the action Enter Enter
Close search Esc Esc

Select some text first, or turn the style on and keep typing.

Action Mac Windows
Bold ⌘B Ctrl+B
Italic ⌘I Ctrl+I
Underline ⌘U Ctrl+U
Strikethrough ⌘⇧S Ctrl+Shift+S
Inline code ⌘E Ctrl+E
Comment on the selected text ⌘⇧M Ctrl+Shift+M

These turn the block the cursor is in into another type.

Turn the block into Mac Windows
Text ⌘⌥0 Ctrl+Alt+0
Heading 1, 2 or 3 ⌘⌥1, ⌘⌥2, ⌘⌥3 Ctrl+Alt+1, Ctrl+Alt+2, Ctrl+Alt+3
Heading 4, 5 or 6 ⌘⌥4, ⌘⌥5, ⌘⌥6 Ctrl+Alt+4, Ctrl+Alt+5, Ctrl+Alt+6
Toggle list ⌘⇧6 Ctrl+Shift+6
Numbered list ⌘⇧7 Ctrl+Shift+7
Bulleted list ⌘⇧8 Ctrl+Shift+8
Check list ⌘⇧9 Ctrl+Shift+9
Quote ⌘⌥Q Ctrl+Alt+Q
Action Mac Windows
Move the block up ⌘⇧↑ Ctrl+Shift+↑
Move the block down ⌘⇧↓ Ctrl+Shift+↓
Nest the block under the one above Tab Tab
Take the block back out one level ⇧Tab Shift+Tab
Action Mac Windows
Undo ⌘Z Ctrl+Z
Redo ⌘⇧Z or ⌘Y Ctrl+Shift+Z or Ctrl+Y
Select the text of the block you’re in ⌘A Ctrl+A
Select the whole page ⌘A twice Ctrl+A twice
Type What opens
/ The slash menu, to add a block
@ The mention menu, to add a date, a person or a link to a page
: and two letters, like :ro The emoji menu

In these menus, use ↑ and ↓ to move, Enter to pick and Esc to close.

Type these at the start of a block. See the editor for more.

Type To get
# then a space Heading 1. ## up to ###### for headings 2 to 6
-, * or + then a space Bulleted list
1. then a space Numbered list
[] then a space Check list. [x] makes it already checked
> then a space Quote
``` then a space Code block. Write the language before the space, like ```js
--- Divider

Inside a line, **bold**, *italic* and `code` become formatting when you type the closing marks.

Action Mac Windows
Start a comment on the selected text ⌘⇧M Ctrl+Shift+M
Post the comment or reply Enter or ⌘Enter Enter or Ctrl+Enter

See comments.

Where Action Mac Windows
Code block Add two spaces Tab Tab
Code block Leave the block ⇧Enter, or Enter three times at the end Shift+Enter, or Enter three times at the end
HTML block Save the HTML ⌘Enter Ctrl+Enter
Diagram, in full screen Zoom in, zoom out + and - + and -
Diagram, in full screen Actual size, fit to screen 1 and 0 1 and 0
Diagram, in full screen Move around Arrow keys Arrow keys
Diagram, in full screen Zoom with the mouse Hold ⌘ and scroll Hold Ctrl and scroll
Diagram, in full screen Close Esc Esc

See blocks and HTML blocks.

Click a cell to put the focus on it, then:

Action Mac Windows
Move between cells Arrow keys Arrow keys
Edit the cell, or open its picker Enter, or start typing Enter, or start typing
Check or uncheck a checkbox Space or Enter Space or Enter
Clear the cell Delete or Backspace Delete or Backspace
Copy the cell’s value ⌘C Ctrl+C

While you edit a text or number cell:

Action Mac Windows
Save Enter Enter
New line in a text cell ⇧Enter Shift+Enter
Cancel Esc Esc

To work with several rows:

Action Mac Windows
Select every row between two rows Click one row’s checkbox, then ⇧-click another Click one row’s checkbox, then Shift-click another
Delete the selected rows Delete or Backspace, then confirm Delete or Backspace, then confirm
Clear the selection Esc Esc

When you write a formula, press ⌘Enter (Ctrl+Enter on Windows) to save it. It only saves when the formula has no errors. See formulas.

Action Mac Windows
Save a page’s new name while renaming it Enter Enter
Stop renaming without saving Esc Esc

These come from the desktop app’s menus.

Action Mac Windows
Add or switch Lyra server ⌘⇧O Ctrl+Shift+O
New window ⌘⇧N Ctrl+Shift+N
Open this page in your browser ⌘⇧B Ctrl+Shift+B
Back ⌘[ Alt+←
Forward ⌘] Alt+→
Reload ⌘R Ctrl+R
Zoom in ⌘= Ctrl+=
Zoom out ⌘- Ctrl+-
Actual size ⌘0 Ctrl+0

The usual shortcuts for your system also work, like ⌘W to close a window and ⌘Q to quit on a Mac.