Skip to content

Keyboard shortcuts

You do not have to memorise any of this. ⇧⌘P / Ctrl+Shift+P opens the command palette, which lists every command by name — the table below is a reference, not a requirement.

The in-app list is under Help → Keyboard Shortcuts. On macOS and Windows the menus print the key next to most actions (on Linux, use the in-app list); Writing Mode is the exception — its key is in the in-app list and below, not in the menu.

Action macOS Windows / Linux
Open File… ⌘O Ctrl+O
Open Vault… ⇧⌘O Ctrl+Shift+O
Save ⌘S Ctrl+S
Save As… ⌘⌥S Ctrl+Alt+S
New tab ⌘T Ctrl+T
Close tab ⌘W Ctrl+W
Today’s note ⇧⌘D Ctrl+Shift+D
Quick Capture, from any app ⌃⇧Space Ctrl+Shift+Space
Settings… ⌘, Ctrl+,
Next tab ⌃Tab Ctrl+Tab
Previous tab ⌃⇧Tab Ctrl+Shift+Tab
Quit ⌘Q Ctrl+Q

Tab switching uses Control on every platform, macOS included — ⌘Tab belongs to the operating system.

Action macOS Windows / Linux
Command palette ⇧⌘P Ctrl+Shift+P
Quick switcher (file by name) ⌘P Ctrl+P
Vault search (text) ⇧⌘F Ctrl+Shift+F
Find in the note ⌘F Ctrl+F
Replace in the note ⌥⌘F Ctrl+H
Find next / previous ⌘G / ⇧⌘G Ctrl+G / Ctrl+Shift+G (also F3 / Shift+F3)
Action macOS Windows / Linux
Files ⌃⌘1 Ctrl+Shift+1
Outline ⌃⌘2 Ctrl+Shift+2
Todo ⌃⌘3 Ctrl+Shift+3
Ask AI ⌃⌘4 Ctrl+Shift+4
Calendar ⌃⌘5 Ctrl+Shift+5
Action macOS Windows / Linux
Focus Mode F8 F8
Typewriter Mode F9 F9
Show All Tabs ⇧⌘\ Ctrl+Shift+\

On a Mac keyboard the function keys may need fn (fn+F8), depending on your keyboard settings.

Action macOS Windows / Linux
Zoom In ⇧⌘= Ctrl+Shift+=
Zoom Out ⇧⌘- Ctrl+Shift+-
Actual Size ⇧⌘0 Linux: Ctrl+Shift+0; Windows: View menu only
Action macOS Windows / Linux
Heading 1 to 6 ⌘1 to ⌘6 Ctrl+1 to Ctrl+6
Paragraph (plain text) ⌘0 Ctrl+0
Heading level up / down ⌘= / ⌘- Ctrl+= / Ctrl+-
Hyperlink ⌘K Ctrl+K
Bold / Italic / Underline ⌘B / ⌘I / ⌘U Ctrl+B / Ctrl+I / Ctrl+U
Highlight ⇧⌘H Ctrl+Shift+H
Clear Format ⌘\ Linux: Ctrl+\; Windows: Format menu only

Windows keeps Ctrl+Shift+0 and Ctrl+\ out of the table because other software on the machine can take those keys before mdai sees them.

Action macOS Windows / Linux
Undo ⌘Z Ctrl+Z
Redo ⇧⌘Z Ctrl+Shift+Z
Cut / Copy / Paste / Select all ⌘X ⌘C ⌘V ⌘A Ctrl+X Ctrl+C Ctrl+V Ctrl+A
Writing Mode (enter and leave) ⌘⇧Enter Ctrl+Shift+Enter
Source Code (show the raw Markdown) ⌘/ Ctrl+/

Cut, copy, paste and select-all use the operating system’s own keys, so they behave the same in the editor and in a plain field such as the API key box in Settings.

These live in the menus and in the command palette:

Action Where Why no key
Toggle Backlinks View The obvious combination does not reach the app on Linux
Toggle Tags View Same reason
Toggle Light/Dark Theme View Not a key you press mid-sentence
Rescan Vault View It is a repair, not a daily action
Keyboard Shortcuts Help Opened from the menu or the palette
Split Right, Split Down View The usual key is already taken by Clear Format or by other apps — see Split view

Toggle Graph, Toggle Git, Show Tab Bar and Read-only Mode (View menu), Rename… (File menu) and Toggle Spell Check (Edit menu) have no shortcut either.

A shortcut that works on two platforms out of three is worse than no shortcut: it teaches you a key that fails on the machine you take with you. Where that was the choice, mdai chose the menu.

Minimize and maximize use your operating system’s own defaults — mdai sets no key of its own for them.

On Windows and Linux the title bar is one row, as on macOS: the ≡ menu is on the left and the window controls on the right. Alt opens the menu.