# Keyboard shortcuts

A key that belongs to a feature says so, like "(with Tasks on)": turn the feature on or off in Settings ▸ Features.

## Files

- ⌘O, open a folder · ⇧⌘O, open a single file
- ⌘N, new note (a plain folder makes a new file; a single-file window makes a blank scratch to Save As) · ⇧⌘N, new folder
- ⌘P, search, full text in a vault, or jump to a file by name in a plain folder (with Search index on)
- ⌥⌘P, print the open document
- ⇧⌘D, open today's note (with Daily note on)
- ⌃⌘←, previous daily note (with Daily note on)
- ⌃⌘→, next daily note (with Daily note on)
- ⇧⌘I, open your inbox (with Inbox on)
- ⌘S, save (autosave also runs a second after you stop typing)
- ⇧⌘S, Save As… (write the current note to a new location)
- ⌘W, close the window

## Formatting

- ⌘B, bold
- ⌘I, italic
- ⌘J, inline code · ⇧⌘J, code block
- ⌥⌘X, strikethrough
- ⇧⌘H, highlight
- ⌘K, insert a link on the selection
- ⌘1 / ⌘2 / ⌘3, heading 1 / 2 / 3 (⌘4 to ⌘6 reach the smaller headings)
- ⌥⌘0, back to a plain paragraph
- ⇧⌘B, blockquote
- ⌘L, bullet list · ⇧⌘L, numbered list · ⌥⌘L, task list
- ⌥⌘T, insert a table
- ⇧↩, a line break inside the paragraph
- ⌘/, add a comment on the selection (with Comments on)

## Editing

- ⌘Z, undo · ⇧⌘Z, redo
- ⌘F, find · ⌘G, find next · ⇧⌘G, find previous
- ⌥⌘F, find and replace
- ⌘E, use the selection for find (then ⌘G walks the matches)
- ⌘D, select the word under the caret, then each press adds the next occurrence; typing changes them all, and the arrow keys move every cursor together (with Multiple cursors on)
- ⌥↩ in the find bar, select every match (with Multiple cursors on)
- ⌘U, undo the last selection step (with Multiple cursors on)
- ⌥⌘← / ⌥⌘→, previous or next sentence · ⌥⇧⌘← / ⌥⇧⌘→, extend the selection by a sentence
- ⇧⌘⌫, jump back to where you last typed; again walks further back
- ⌥⌘↑ / ⌥⌘↓, move the block, task or section up or down
- ⌘] / ⌘[, indent or outdent the list item (Tab and Shift-Tab do the same)
- ⌘↩, in a task, toggle it done (with Tasks on)
- ⌥⌘1 / ⌥⌘2 / ⌥⌘3, in a task, priority high / medium / low; the same key again clears it (with Tasks on)

## View

- ⌘\, toggle the sidebar
- ⌥⌘\, toggle the right panel
- ⇧⌘V, toggle raw markdown on and off (or click the eye in the breadcrumb row)
- ⇧⌘F, focus mode · ⌘., zen mode
- ⌥⌘O, outline mode (with Outline mode on)
- ⌘', fold or unfold the section the caret is in
- ⇧⌘., cycle visibility (overview, structure, everything)
- ⌥⌘', focus in on the current section · ⌥⇧⌘', focus out (with Outline mode on)
- ⇧⌘T, tasks (with Tasks on)
- ⌃⌘G, graph (with Graph on)
- ⌃⌘T, trip map (with Maps on)
- ⌥⌘U, html source (with HTML notes on)
- ⌘+ / ⌘−, zoom the text in and out
- ⌘0, back to actual size

## Reviewing changes

These work while a review overlay is open over the note: a suggestion, or a comparison with an earlier version.

- ⌥↓ / ⌥↑, next or previous change
- ⌘↩, accept the focused change · ⌘⌫, reject it (in a comparison, revert it)
- ⌥⌘↩, accept every change
- Escape closes the overlay

## Settings and help

- ⌘, (comma), open Settings
- ⌘? (⇧⌘/), open this help

Typewriter scrolling has no key: View ▸ Typewriter Scrolling. To change a key, put a keybindings.json in ~/Library/Application Support/Wander, in VS Code's format: a row like {"key": "shift+cmd+9", "command": "task.toggleDone"} adds a key, and a command with a leading minus removes a default. The formatting toolbar can be Docked, Floating, or Hidden, set it in Settings ▸ Formatting toolbar. New windows open in Standard, Focus, or Typewriter mode, pick in Settings ▸ New windows open in.
