Chapter 55
The View and Window menus
The View menu controls the panels, the mode, the size and the editor's display. Its shortcuts can be changed in Settings ▸ Keyboard, except where noted.
Panels and mode#
| Item | Shortcut | What it does |
|---|---|---|
| Formatting Toolbar | Shows or hides the optional row of formatting buttons under the text. Greyed out in Preview. | |
| Toggle Sidebar | ⇧⌘L | Shows or hides the whole sidebar. |
| Outline | ⌃⌘1 | Shows the Outline panel. Choosing it again hides the sidebar. |
| Files | ⌃⌘3 | Shows the Files panel (the file tree). |
| Search | ⇧⌘F | Shows the folder Search panel. |
| Assistant | ⌃⌘4 | Shows the Assistant panel. Appears only after an assistant connection is set up. |
| Preview | ⇧⌘P | Switches to the rendered page. |
| Side by Side | ⌃⌘P | Shows source and preview together. |
| Focus Mode | none | Hides everything but the text. |
Size#
| Item | Shortcut |
|---|---|
| Actual Size | ⇧⌘0 |
| Zoom In | ⇧⌘= |
| Zoom Out | ⇧⌘- |
Zoom steps through preset levels and is remembered. It scales the editor and the preview.
Editor display#
Each of these is a switch. The same switches are in Settings ▸ Editing (Chapter 68).
| Item | Shortcut | What it does |
|---|---|---|
| Line Numbers | ⌥⌘L | Shows line numbers in the gutter. |
| Current-Line Rule | Draws a thin rule under the line the caret is on. The rule's colour comes from the Application Theme. | |
| Wrap Lines | Wraps long lines at the window edge. Off, they scroll sideways. Very long lines and Focus Mode wrap regardless. | |
| Styled Source | Draws headings, bold and italic text in a matching face, in the look of the syntax, instead of plain source. | |
| Hide Markers | With Styled Source on, hides the heading, bold and italic marks (the #, the **) on every line except the one the caret is on. Greyed out when Styled Source is off. | |
| Rendered Blocks | Draws tables, equations and diagrams as pictures in place of their source, each with an edit button. | |
| Heading Folds | Adds a fold chevron in the gutter beside each heading, so its section can be folded away, in any syntax profile. | |
| Fold All, Unfold All | Collapses or expands every heading's section. Greyed out unless Heading Folds is on. | |
| Auto-Expand Sections | Opens a folded section, or a block drawn as a picture, when the caret arrives in it, and closes it again when the caret leaves. Off, the up and down arrows step over it and it stays as it is. |
Theme#
View ▸ Theme chooses the Application Theme (Automatic, Light, Dark) and the Render Theme (Light, Dark) with a checkmark. Themes you add appear here too. See Chapter 40.
The system also adds Enter Full Screen.
Window menu#
| Item | Shortcut | What it does |
|---|---|---|
| Open Documents | ⌃⌘2 | Opens the document switcher. |
| Next Document, Previous Document | ⌃Tab, ⌃⇧Tab | Cycles through the open documents. Greyed out with fewer than two open. |
The Window menu also holds the system's window commands, and lists each open document by name. On iPad, these three items are at the end of the View menu.