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#

ItemShortcutWhat it does
Formatting ToolbarShows or hides the optional row of formatting buttons under the text. Greyed out in Preview.
Toggle Sidebar⇧⌘LShows or hides the whole sidebar.
Outline⌃⌘1Shows the Outline panel. Choosing it again hides the sidebar.
Files⌃⌘3Shows the Files panel (the file tree).
Search⇧⌘FShows the folder Search panel.
Assistant⌃⌘4Shows the Assistant panel. Appears only after an assistant connection is set up.
Preview⇧⌘PSwitches to the rendered page.
Side by Side⌃⌘PShows source and preview together.
Focus ModenoneHides everything but the text.

Size#

ItemShortcut
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).

ItemShortcutWhat it does
Line Numbers⌥⌘LShows line numbers in the gutter.
Current-Line RuleDraws a thin rule under the line the caret is on. The rule's colour comes from the Application Theme.
Wrap LinesWraps long lines at the window edge. Off, they scroll sideways. Very long lines and Focus Mode wrap regardless.
Styled SourceDraws headings, bold and italic text in a matching face, in the look of the syntax, instead of plain source.
Hide MarkersWith 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 BlocksDraws tables, equations and diagrams as pictures in place of their source, each with an edit button.
Heading FoldsAdds a fold chevron in the gutter beside each heading, so its section can be folded away, in any syntax profile.
Fold All, Unfold AllCollapses or expands every heading's section. Greyed out unless Heading Folds is on.
Auto-Expand SectionsOpens 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#

ItemShortcutWhat it does
Open Documents⌃⌘2Opens the document switcher.
Next Document, Previous Document⌃Tab, ⌃⇧TabCycles 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.