Shortcuts
Shortcuts
Every keyboard shortcut outl ships with, across every client, in one table per concern.
Source of truth
Why one catalog owns every chord, and why the desktop has no character cursor: RFC 0070.
The desktop and TUI both pull their chord catalog from crates/outl-shortcuts (src/defaults.rs::default_bindings()).
The mobile app doesn’t expose a keyboard surface (touch + on-screen keyboard); the rows below leave its column blank when there’s nothing to bind.
One catalog, two consumers — and only one of them resolves through it. The desktop calls
outl_shortcuts::lookup(mode, chord) → Actionfor every keystroke, so a chord change indefaults.rsreaches it on the next build. The TUI does not. It dispatches Normal-mode keys through its ownmatchininput/normal.rs, andinput/chord_adapter.rsexists only to match plugin-contributed chords. The catalog and those match arms can disagree without anything failing to compile; a handful of reminder chords are pinned byreminder_chord_tests, and the rest are not. Treat a TUI cell below as documentation of thematch, not of the catalog.
If a row below disagrees with what you observe in the app, the code is right and this doc is stale — file an issue or fix the row.
Which client performs which action is not this doc’s to answer, and the three times it tried it was wrong (see the rows fixed in the same commit as this note). That fact lives in
outl_shortcuts::supportand is rendered inclient-parity.md, which is generated and test-pinned. This table says which key; that one says whether anything happens.
How to read the tables
- Chrome / Global chords fire in every mode.
- Normal / Insert / Visual / Overlay mirror the vim modes.
The desktop subscribes to
Normal/Visualonly whileeditor.vim_mode = true(seedocs/config.md); chrome andInsertchords are always live. Cmdis the macOS modifier;Ctrlis the same chord on Linux / Windows / TUI. We list one form per row to keep the table readable.- A chord in the form
q qis a vim-style two-key sequence: press the first, then the second within ~1 s.
Chrome (Global) — works in any mode
| Action | TUI | Desktop | Mobile |
|---|---|---|---|
| Quick switcher (fuzzy pages + journals) | Ctrl+P | Cmd/Ctrl+P | tap toolbar |
| Open today’s journal | t / Home | Cmd/Ctrl+J | toolbar |
Cycle task state on focused or selected block — (none) → TODO → DOING → DONE → (none), one stop per press (T for task) | Ctrl+T / Ctrl+Enter | Cmd/Ctrl+T / Cmd/Ctrl+Enter | tap checkbox |
Run code block under cursor / selected block (X for execute). TUI: when the block isn’t code, g x instead opens the markdown link [text](url) under the cursor — an asset link in the OS default app, anything else in the browser (issue #183) | g x chord / :run | Cmd/Ctrl+Shift+X (inside a textarea the Insert-mode strikethrough wins — commit first or use the Run button; plain Cmd+X is the OS cut / block cut) | tap “Run” button |
| Previous journal day | [ | Cmd/Ctrl+[ | swipe right |
| Next journal day | ] | Cmd/Ctrl+] | swipe left |
| Toggle sidebar | Ctrl+E | Cmd/Ctrl+Shift+E | (single pane) |
| Toggle backlinks panel | Ctrl+B | Cmd/Ctrl+Shift+B | inline below outline |
| Toggle backlinks order (newest/oldest) | Ctrl+O | direction button in the backlinks header | direction button in the backlinks header |
| Open settings | via :settings | Cmd/Ctrl+, | gear icon |
| Toggle help overlay | ? | Cmd/Ctrl+/ | help button |
| Quit | q q (chord) / Z Z (vim alias) / Ctrl+C | Cmd/Ctrl+Q (OS) | — |
Why
Cmd+Jand notCmd+Tfor today’s journal? Every outliner ecosystem usesTfor task / TODO — TUI’sCtrl+T, Logseq’sCmd+T, the universal Markdown checkbox shortcut. Re-training that muscle memory would be hostile.Jfor journal is unambiguous and lines up with the TUI’sg jchord.
Defaults the user often asks about.
Both clients ship with sidebar and backlinks panel HIDDEN (show_sidebar: false, show_backlinks: false).
Editor-hero on first launch — the user opts the panels in with the chord.
This matches Bear / Ulysses on the desktop and outl-tui’s historical behaviour.
Why the shifted variants for sidebar / backlinks
| Chord | Why not |
|---|---|
Cmd+B | Reserved for bold in Insert mode — every popular markdown editor (Notion, Obsidian, Discord, Slack, Typora) treats it that way. Hijacking would be hostile. |
Cmd+\ | macOS 1Password global autofill. Stealing it breaks every 1Password user. |
So Cmd+Shift+E (VS Code’s “Show Explorer”) and Cmd+Shift+B are the canonical chrome chords on the desktop.
The TUI mirrors the spirit with Ctrl+E / Ctrl+B (most terminals collapse Ctrl+Shift+letter into Ctrl+letter, so both forms work identically).
Inline markdown — Insert mode (textarea focused)
Wrap the current selection (or insert the delimiter pair around the caret). Mirrors the convention every markdown editor on the planet ships.
| Action | TUI | Desktop | Mobile |
|---|---|---|---|
Bold (**…**) | type ** | Cmd/Ctrl+B | toolbar B |
Italic (_…_) | type _ | Cmd/Ctrl+I | toolbar I |
Inline code (`…`) | type ` | Cmd/Ctrl+E | toolbar <> |
Strikethrough (~~…~~) | type ~~ | Cmd/Ctrl+Shift+X | toolbar S |
Link ([label](url)) | type [ | Cmd/Ctrl+K | toolbar 🔗 |
outl ships
_…_as the canonical italic. The parser still accepts*…*for compatibility, but.mdprojections emit underscores.
Outline navigation — Normal mode
The desktop honours Normal/Visual only while editor.vim_mode = true.
The TUI is vim-style by definition.
| Action | TUI | Desktop (vim on) | Mobile |
|---|---|---|---|
| Selection down | j / ↓ | j / ↓ | tap block |
| Selection up | k / ↑ | k / ↑ | tap block |
| Enter Insert at end of block | i | i | tap block |
| Enter Insert at start of block | I | I | tap at start |
| Enter Insert one char past cursor (vim append) | a | a (= i, no char cursor) | — |
Enter Insert at end of block (vim A) | A | A | — |
Substitute block (clear + Insert at col 0; S / cc) | S | S | — |
Substitute char under cursor (= xi) | s | — (char cursor only) | — |
Yank current block to register + OS clipboard (Y, alias of y y) | Y | Y | long-press → “Copy text” |
| Paste OS clipboard with formatting (outline structure / multi-paragraph split) | p | Cmd/Ctrl+V | paste |
| Paste OS clipboard without formatting (raw text, single block) | P | Cmd/Ctrl+Shift+V | — |
Open [[ref]] / #tag / ((blk-…)) under cursor | Enter | Enter | tap |
| New block below + Insert | o | o / Cmd/Ctrl+Shift+Enter (no vim needed) | toolbar + |
| New block above + Insert (creates a sibling before the selected block) | O | O | long-press → “New block above” |
| Indent block | Tab | Tab | drag right |
| Outdent block | Shift+Tab | Shift+Tab | drag left |
| Move block up among siblings | K | Cmd/Ctrl+Shift+↑ | drag |
| Move block down among siblings | J | Cmd/Ctrl+Shift+↓ | drag |
Cut block + subtree (move-by-id; paste keeps ((blk-…)) refs) | — | Cmd/Ctrl+X | long-press → “Cut block” (fresh id on paste, see note below) |
| Copy block + subtree (paste duplicates with fresh ids) | — | Cmd/Ctrl+C | long-press → “Copy block” |
| Paste block after the selection (cut → move, copy → duplicate) | — | Cmd/Ctrl+V | long-press → “Paste block” |
| Cancel a pending cut | — | Esc | — |
| Delete block (chord) | d d | d d | swipe left |
| Fold / unfold (toggle collapsed) | c | c | tap bullet |
| Unfold all on the page (chord) | z R | z R | tap header “Unfold all” button |
| Fold all on the page (chord) | z M | z M | tap header “Fold all” button |
| Center viewport on cursor (chord) | z z | z z | — |
| Zoom in on block (make it the outline root) | z i | z i / Cmd/Ctrl+Shift+] | tap bullet |
| Zoom out (back up one level toward the page) | z o | z o / Cmd/Ctrl+Shift+[ | tap breadcrumb / back |
| Last block (jump) | G | G | — |
| First block (chord) | g g | g g | — |
| Reselect last Visual range (chord) | g v | g v | — |
| Search workspace for word / block text — forward | * | * (seeds picker) | page switcher “Blocks” tab (no hit-stepping) |
| Search workspace for word / block text — backward | # | # (seeds picker) | page switcher “Blocks” tab (no hit-stepping) |
| Undo last committed block mutation | u | u / Cmd/Ctrl+Z | keyboard toolbar |
| Redo | Ctrl+R | Ctrl+R / Cmd/Ctrl+Shift+Z | keyboard toolbar |
| Yank block ref → clipboard (chord) | y r | — (chord is in the catalog, no handler — #parity) | long-press → “Copy block ref” |
| Enter Visual | v | v | — |
| Open command palette | : | — (chord is in the catalog, no handler — #parity) | — |
| Open slash menu | / | / | / |
About
a/*/#on the desktop. The desktop’s Normal mode has only a selected block id — no character cursor inside the block. Soacollapses toi(the textarea’s own caret takes over), and*/#seed the picker with the first few words of the selected block’s text instead of doing a word-under-cursor search. The catalog still ships these chords so muscle memory from the TUI carries over.
Cmd+X/Cmd+C/Cmd+Vare mode-aware on the desktop. Inside a block editor (Insert mode, a<textarea>is focused) they are the OS-native text cut / copy / paste — the chords aren’t in the catalog there, so the keystroke reaches the webview untouched. In view mode (Normal, nothing focused) they act on the whole selected block + its subtree: cut marks it to move by id (the paste emits a singleOp::Move, so((blk-…))refs and backlinks survive — and the target may live on another page, moving the block across pages), copy snapshots it as markdown (the paste duplicates with fresh ids). This is also why run code block moved offCmd+XtoCmd+Shift+X(view mode): a text-editing app has to let the OS-wide cut win.
Mobile’s “Cut block” mints a fresh id, unlike the desktop’s
Cmd/Ctrl+X. The desktop’s block clipboard tags a cut with{kind: "cut", nodeId}and pastes it as a singleOp::Move, so the block keeps its identity and every((blk-…))ref to it stays valid. Mobile’s long-press “Cut block” instead renders the subtree to markdown and deletes the source in one round-trip, then pastes it back via the same fresh-id path its “Copy block” already uses — a((blk-…))ref pointing at the cut block goes stale across the round-trip. Use “Copy block ref” first if something else in the workspace links to the block you’re about to cut.
Cmd/Ctrl+Shift+Enterworks without vim mode. Unlikeo, the chord is not vim-gated: with no textarea focused the desktop falls into Normal dispatch regardless of thevim_modesetting, so every user can append a block from view mode. Inside a block editor the same chord commits the current edit first (Insert-modeCommitAndContinue). BothCmd+Shift+Enter(macOS) andCtrl+Shift+Enter(Windows / Linux) are bound in each mode.
Cursor inside a block (Normal)
These rely on a character cursor inside the selected block. The TUI ships it natively; the desktop has only a selected block id, so the char-cursor ops surface a status-line nudge instead of firing.
| Action | TUI | Desktop (vim on) |
|---|---|---|
| Char left / right | h / l (or arrows) | h / l |
| Word right / left | w / b | w / b |
Word end forward (vim e) | e | — |
| Start / end of block text | 0 / $ (or Home/End) | 0 / $ |
| Find char forward / backward (next typed char) | f{ch} / F{ch} | — |
| Delete char under / before cursor | x / X | — |
Delete to end of block (D) / change to end (C) | D / C | — |
| Replace char under cursor with next typed char | r{ch} | — |
| Toggle case of char under cursor; advance | ~ | — |
Insert mode (text editing)
| Action | TUI | Desktop | Mobile |
|---|---|---|---|
| Commit + exit Insert | Esc | Esc / blur | blur |
| Newline inside the block (multi-line text) | Shift+Enter | Shift+Enter | Enter |
| Split block at cursor into two (caret at end → empty sibling below; caret at start → empty block above; caret mid-text → head stays, tail becomes the new sibling, caret lands at its start) | Enter | Enter | Enter |
Commit + new block, caret-aware (caret at col 0 → before the block / vim O; past col 0 → below) | — | Cmd/Ctrl+Shift+Enter | — |
| Indent (stay in Insert) | Tab | Tab | drag |
| Outdent (stay in Insert) | Shift+Tab | Shift+Tab | drag |
| Delete block on empty | Backspace on empty | Backspace on empty | — |
Auto-pair ( [ { [[ (( | yes | yes | yes |
| Ref autocomplete | [[ triggers picker | [[ triggers picker | [[ triggers picker |
| Tag autocomplete | # triggers picker | # triggers picker | — |
| Block ref autocomplete | (( triggers picker | (( triggers picker | — |
| Slash command autocomplete | / | / | — |
Cycle task state on current (TODO → DOING → DONE → none) | Ctrl+T / Ctrl+Enter | Cmd/Ctrl+T / Cmd/Ctrl+Enter | tap checkbox / long-press menu |
| Cut / copy / paste text (native) | — | Cmd/Ctrl+X / Cmd/Ctrl+C / Cmd/Ctrl+V | native |
| Run code block | g x chord | (commit with Esc, then Cmd/Ctrl+Shift+X) | tap “Run” |
Visual mode (range)
TUI + desktop; mobile has no Visual equivalent yet.
On the desktop, Shift+↑ / Shift+↓ start (and keep growing) a contiguous selection without vim mode — the non-vim multi-select entry.
It flips the client into Visual and pops a floating batch toolbar (N selected + Indent / Outdent / Move up / Move down / Delete / Done) so the range ops are reachable by mouse; the toolbar fires the same actions the chords do.
Only the toolbar’s Delete confirms before erasing a range that contains nested children; the keyboard delete (d / x / Delete / Backspace) and the TUI delete without a prompt, matching vim.
| Action | TUI | Desktop |
|---|---|---|
| Start / extend selection down | j / ↓ | Shift+↓ (any mode) · j / ↓ (vim) |
| Start / extend selection up | k / ↑ | Shift+↑ (any mode) · k / ↑ (vim) |
| Yank range | y | y |
| Delete range (toolbar Delete confirms if a block has children; the keys don’t) | d / x | d / x · Delete / Backspace · toolbar Delete |
Indent range (vim >) | Tab / > | > · toolbar Indent |
Outdent range (vim <) | Shift+Tab / < | < · toolbar Outdent |
| Move range up among siblings | Alt+↑ | Cmd/Ctrl+Shift+↑ · toolbar ↑ |
| Move range down among siblings | Alt+↓ | Cmd/Ctrl+Shift+↓ · toolbar ↓ |
Leave Visual (captures range so a follow-up g v restores it) | Esc | Esc · toolbar Done |
Page operations
g d (Normal mode, “go delete”) is the canonical chord for page deletion.
It lives in the shared outl-shortcuts catalog, same g<action> family as g j (today) / g x (execute) / g p (properties).
The chord deletes the focused page (sidebar-highlighted row when the sidebar has focus on the TUI, otherwise the current page).
Each client confirms before invoking outl_actions::page::delete.
Journals are refused everywhere.
Clients also expose the action through their native page-list affordance.
| Action | TUI | Desktop | Mobile |
|---|---|---|---|
| Delete the focused page (with confirmation) | g d (Normal mode) deletes the current page; sidebar d deletes the focused sidebar row | g d (Normal mode) + hover × button on the sidebar row | long-press the row in the page switcher |
The desktop routes g d through the same DeletePage handler in action-handlers.ts (same window.confirm + deletePage(slug) flow as the × button).
Mobile has no keyboard surface.
Long-press in the page switcher remains the only trigger on touch devices.
Reminders (remind::)
Authoring a reminder and inspecting the schedule are chorded on every client; delivering it is per-OS and never a chord. Every client delivers, the TUI included (an OSC 9 notification plus a toast, on its event-loop tick). What the TUI can’t do is deliver while it’s closed, since a terminal session has no background presence — see reminders.md.
| Action | TUI | Desktop | Mobile |
|---|---|---|---|
| Add a reminder to the selected block | g r (writes remind:: 9am; reports the existing rule instead of overwriting) | Cmd+R, or g r in Normal | long-press the block → Remind me… |
”Nag me” preset (remind:: now every 1h until DONE) | g R (overwrites — escalating is explicit) | g R in Normal | — |
| Open the reminders list | g n | Cmd+Shift+R / Ctrl+Shift+R | bell icon in the header |
| In the list: open the reminder’s page | Enter | Enter / click the row | tap the row |
| Snooze the selected block 1h, without opening the list | g s | g s in Normal | the chips in the sheet (no chord surface) |
| In the list: snooze 1h | s | the 1h / tomorrow / next week buttons | the 1h / Tomorrow / Next week chips |
| In the list: close | Esc / q | Esc | drag down / tap outside |
Why
g nin the TUI and notCtrl+R?Ctrl+Ris already Redo in Normal mode, and a terminal cannot distinguishCtrl+RfromCtrl+Shift+R. Thegfamily (g j,g x,g d) is the honest home for it there; only the desktop takes theCmd/Ctrl+Shift+Rspelling.Ctrl+Ron the desktop likewise stays Redo on Linux / Windows, which is why authoring isCmd+Ronly.
Snoozing writes Op::SnoozeRemind, so it converges: silencing a nag on the phone silences the same block on the laptop.
Properties (key:: value)
remind:: above is one property with its own chords; this is the generic door.
Creating the first property on a block used to be impossible in either GUI client — you could edit a chip that already existed and nothing more (issue #13).
| Action | TUI | Desktop | Mobile |
|---|---|---|---|
| Open the property editor for the selected block | g p | g p in Normal — the chip row is always visible, so this opens the blank pair (same as Cmd+Shift+P) | long-press the block → Properties… |
| Add a property to the selected block | o inside g p, or /prop <key> <value> | Cmd+Shift+P / Ctrl+Shift+P in Normal, or the + prop button at the end of the chip row (visible on block hover) | + Add property at the top of the sheet |
| Edit a property’s value | Enter inside g p, or /prop <key> <value> | click the chip | tap the chip |
| Delete a property | d d inside g p, or /prop <key> (empty value) | the × on the chip | swipe the row left, or Delete inside the editor |
| Add / edit a page property | p inside g p flips to page scope, or /prop-page <key> <value> | the chip row under the page title (always visible) | long-press the title, the Block ⇄ Page switch in the sheet, or the Properties button on an empty page |
| Complete the key from the workspace catalogue | Tab in the key field | typeahead on the key field | the most-used keys as tappable chips, plus Other… for the keyboard |
Pick a [[page]] as the value | [[ / # in the value field | [[ in the value field opens the page list (↑/↓, Enter or click) | the [[ picker |
| Close the editor | Esc / q | Esc | swipe the sheet down, or ✕ |
The key field completes from the workspace’s own key catalogue (outl_actions::known_keys), most-used first, skipping keys the block already carries.
Deleting and “empty the value” are the same backend call — the × exists because a gesture nobody can see is not an affordance.
The TUI gets an overlay rather than a form. It is modal and vim, so tabbing between a key field and a value field fights the mode: Tab there means complete, and Enter is what advances key → value → save. /prop and /prop-page stay for muscle memory; the overlay is for when you don’t remember the key.
g pused to mean “pin”. Thepinned::toggle moved tog P(/pinis unchanged). Pinning is a once-per-page act with a second door already; editing properties is a daily one — andpinned::is itself one of the page propertiesg pnow edits.
Overlays (picker, palette, settings, help)
| Action | TUI | Desktop |
|---|---|---|
| Highlight next | ↓ / Tab / Ctrl+J | ↓ |
| Highlight previous | ↑ / Shift+Tab / Ctrl+K | ↑ |
| Confirm | Enter | Enter |
| Close overlay | Esc | Esc |
The picker (Cmd+P / Ctrl+P) fuzzy-matches pages and journals together; type a date in ISO (2026-06-04) or natural (today, yesterday) to jump.
Where each chord lives in the code
| Layer | File | What it owns |
|---|---|---|
| Canonical catalog | crates/outl-shortcuts/src/defaults.rs | Every (mode, chord, action, description) row. |
Action enum | crates/outl-shortcuts/src/action.rs | The named operation each chord resolves to. |
| TUI key dispatch | crates/outl-tui/src/input/normal.rs | Its own match on crossterm::KeyEvent. Does not call lookup. |
| TUI chord adapter | crates/outl-tui/src/input/chord_adapter.rs | crossterm::KeyEvent → Chord, for plugin keybindings only. |
| Desktop input adapter | crates/outl-desktop/src/lib/shortcuts.ts | KeyboardEvent → Chord. |
| Desktop dispatcher | crates/outl-desktop/src/lib/action-handlers.ts | Action → Tauri command. |
| Mobile toolbar / gestures | crates/outl-mobile/src/components/ | Per-component on-screen handlers. |
| Per-client support | crates/outl-shortcuts/src/support.rs | Whether each client performs each action, and the sentence shown when it can’t. Rendered in client-parity.md. |
A chord change is a single line in defaults.rs plus, if the action is new, a row in action.rs and a handler in each client.
See crates/outl-shortcuts/CLAUDE.md for the full add-a-binding checklist.
Help overlay vs. this doc
In the TUI, press ? (Normal mode) to see the live chord table baked into the binary — it’s generated from the same default_bindings() table this doc describes.
In the desktop, Cmd+/ opens the same overlay.
If you need to look something up while typing, the in-app overlay is faster than this page.
This doc exists so a contributor (or a user shopping for outl) can see every shortcut without launching the app.