Skip to main content
Version: 0.7

Keyboard shortcuts

This chapter lists every keyboard shortcut Leafen has, on a Mac and on Windows and Linux. The Markdown you can type to make blocks is in Editor blocks; the keys of a database's views are in the Databases chapters (Databases).

The shortcuts window​

Cmd+Option+/ (Ctrl+Alt+/ on Windows and Linux) opens Keyboard shortcuts: the shortcuts in tabs — Popular, Create & style, Edit & move, Markdown, Commands and Slash commands, those the window has no room for under more… — with Search… to find one. The window shows the keys of the computer you are on. Some shortcuts below are not in the window and work all the same.

In the tables, "Cmd" is the Command key on a Mac and Ctrl on Windows and Linux; "Option" is Alt on Windows and Linux.

Anywhere​

ActionMacWindows and Linux
New pageCmd+NCtrl+N
Search, or go back to a page you saw recentlyCmd+K or Cmd+PCtrl+K or Ctrl+P
Copy page URLCmd+Option+L in a browser; Cmd+L in the Mac appCtrl+Alt+L in a browser; Ctrl+Alt+L or Ctrl+L in the Windows app
Open the share menuCmd+Shift+OCtrl+Shift+O
Go back a pageCmd+[Ctrl+[
Go forward a pageCmd+]Ctrl+]
Toggle dark modeCmd+Shift+LCtrl+Shift+L
Open parent pageCmd+Shift+UCtrl+Shift+U
Move current pageCmd+Shift+PCtrl+Shift+P
Toggle sidebarCmd+\Ctrl+\
Open inboxCmd+Option+UCtrl+Alt+U
Open keyboard shortcutsCmd+Option+/Ctrl+Alt+/
Go to the first to ninth workspace in the workspace menu (desktop app)Control+Shift+1 to 9Ctrl+Shift+1 to 9

On a page​

ActionMacWindows and Linux
Find in current pageCmd+FCtrl+F
Rename current pageCmd+Shift+RCtrl+Shift+R
Start presentationCmd+Option+PCtrl+Alt+P
Expand/close all togglesCmd+Option+TCtrl+Alt+T
Close panel (the panel beside a page)Cmd+Shift+\Ctrl+Shift+\
Open in new tab (with a menu open)Cmd+Shift+EnterCtrl+Shift+Enter
Previous page in a database page's peekControl+Shift+KCtrl+Shift+K
Next page in a database page's peekControl+Shift+JCtrl+Shift+J

Writing​

ActionMacWindows and Linux
BoldCmd+BCtrl+B
ItalicCmd+ICtrl+I
UnderlineCmd+UCtrl+U
StrikethroughCmd+Shift+X or Cmd+Shift+SCtrl+Shift+X or Ctrl+Shift+S
Inline codeCmd+ECtrl+E
Inline equationCmd+Shift+ECtrl+Shift+E
Clear formattingCmd+Option+\Ctrl+Alt+\
Add linkCmd+KCtrl+K
Add commentCmd+Shift+MCtrl+Shift+M
Suggest editsCmd+Shift+Option+XCtrl+Shift+Alt+X
Apply last used colorCmd+Shift+HCtrl+Shift+H

Cmd+K adds a link while words are chosen; with nothing chosen it opens search.

Turn a block into another kind​

Keys (Mac: Cmd+Option; Windows and Linux: Ctrl+Alt)Turns the block into
0Text
1, 2, 3Heading 1, 2, 3
4To-do list
5Bulleted list
6Numbered list
7Toggle list
8Code
9Page

Blocks​

These act on the chosen blocks (Esc chooses the block the caret is in).

ActionMacWindows and Linux
Open block actionsCmd+/Ctrl+/
Move block to different pageCmd+Shift+PCtrl+Shift+P
Copy link to blockCmd+Control+L—
Duplicate selected blocksCmd+DCtrl+D
Duplicate without contentCmd+Shift+DCtrl+Shift+D
Delete selected blocksDelete or BackspaceDelete or Backspace
Move selected block upCmd+Shift+UpCtrl+Shift+Up
Move selected block downCmd+Shift+DownCtrl+Shift+Down
Caption (an image or file)Cmd+Option+MCtrl+Alt+M
Image linkCmd+KCtrl+K
Full screen (an image)SpaceSpace
Unsync all (a synced block)Cmd+Shift+GCtrl+Shift+G

Names, limits and defaults​

NameLimit or defaultNotes
Shortcuts window listsPopular, Create & style, Edit & moveOpens on Popular.
Copy link to blockMac onlyNo Windows or Linux key.

For agents and the API​

Shortcuts are the screen's own; an agent does the same work through MCP and the API, as the chapters of each part describe.

Differences from Notion​

  • Option+Delete at the end of a line, and Control+Option+Backspace at its start, join the two lines into one, as Delete does; Notion copies the other line's words and leaves that line too.
  • Cmd+Z keeps working on a page after you visit another page and come back, while the app stays open.