Focus

Just you and the page, with everything but the paragraph or sentence you're writing dimmed if you like.

Switch Focus on with CTRL/CMD+ALT+Z, the button in the editor's top-right row, or Enter Focus in the command palette. The sidebar, AI companion, buttons, file name, outline and word count all go, and the page takes their room. Use the same shortcut or the palette to bring them back, or, on a tablet, tap the very top edge of the screen: the search bar and a button to leave Focus return for a few seconds. It's for this session, so a reload shows the interface as you left it. To close just the sidebar for good, press CTRL/CMD+\; the page takes its room, and it stays that way across reloads.

Focus can also dim the text you aren't writing. Choose what under Settings → Editor → Focus Dimming, or run one of the Focus Dimming: … commands from the command palette. Nothing dims while Focus is off. As the caret moves from one sentence to the next, the old one fades out and the new one fades in.

OffEvery line at full strength (default)
Other paragraphsOther paragraphs fade and the caret line stays centered
Other sentencesOnly the sentence you're writing stays at full strength

With paragraphs dimmed, the current paragraph is the run of non-blank lines around the caret. Everything else dims while the editor has focus and returns to full strength when you click away. Typing, deleting, undo/redo and moving with the keyboard keep the line centered; clicking or selecting with the mouse never scrolls the view.

Turn on Word Count in Settings → Editor (or run Enable/Disable Word Count) to show the file's word count faintly in the bottom-left corner of the editor. It steps aside while you type and comes back when you pause or move the mouse. Frontmatter and Markdown marks on their own, like # or -, aren't counted.