Navigation and Outline

Long documents are easy to move through. The outline panel tracks where you are, the editor and preview scroll together in split mode, and find pinpoints any line.

The outline panel

The outline panel lists every heading in the current document as a collapsible tree. Click a heading to scroll the editor and preview to that section. As you scroll, the heading you are currently reading is highlighted, so the outline doubles as a position indicator.

Open it from the toggle on the right edge of the editor area. The outline is built from your headings (# H1 through ###### H6), so the better your structure, the more useful the panel.

Pinned column vs hover overlay

The outline has two modes. Pick the one that fits how you are reading.

The two outline modes
Outline◧ pinned
Introduction
The data model
Sources
Transforms
Open questions
Pinned
Permanent column; the editor narrows to make room.
Outline◨ overlay
Introduction
The data model
Sources
Transforms
Open questions
Overlay
Floats over the editor; appears when you hover or open it.

Toggle between the two with the pin button in the outline header. Your choice persists across sessions, so the layout you prefer is the layout you get.

Scroll sync in split view

When you are in split view, the editor and the preview scroll together. Scroll one and the other follows.

Editor and preview tracking the same passage
## The data model
### Sources
Each row is a snapshot of state.
### Transforms
The data model
Sources
Each row is a snapshot of state.
Transforms

Slate treats whichever pane you scrolled most recently as the leader and the other as the follower. This avoids feedback loops where the two panes nudge each other back and forth.

Find in document

To search within the document you are editing, use the find bar in the plain-text view. Open it with FCtrlFFind.

Toggle case sensitivity and regular expressions from the find bar. Use Find Next and Find Previous to walk through matches; press Escape to close the bar.

For more on the find and replace controls, see Editing and Formatting.

Sidebar search results know which line a match is on. Click a result and Slate opens the file (if it is not already open), brings the right tab forward, and scrolls the editor to the matching line with the match highlighted briefly so it is easy to spot.

Opening a content match from the command palette goes one step further: in Plain or WYSIWYG it also places the cursor on the matched line and focuses the editor, so you are ready to keep typing.

For details about the search itself, see Search across files.

The command palette

The command palette is the keyboard-first way to navigate Slate. Open it with KCtrlKcommand palette and start typing. The first character of your query picks the mode.

  • No prefix. Mixed search across file names and content in every workspace root. Names match first; content matches follow. Capped at 100 results.
  • / runs a slash command, like /view rendered or /theme dark.
  • # lists every heading in the active document. Pick one to jump there.
  • ? opens a built-in cheat sheet.

With /open the palette switches to path-completion mode. Tab autocompletes a segment, a trailing / descends, pops up one level, and ~/ expands to your home folder on desktop. For everything the palette can do, see the dedicated Command Palette page.