Writing

Searching your project

Find words across every chapter and note, and replace them all at once.

The Search tab looks through every chapter and note in your project at once. To search inside the chapter or note you're reading instead, press Ctrl+F (⌘+F on a Mac).

Choose Search in the rail at the left edge of the window, or press Ctrl+Shift+F (⌘+Shift+F on a Mac) from anywhere in the project. It opens as a tab, so you can keep it beside a chapter; see Tabs and split panes.

Type in Search every chapter and note. Results are grouped by chapter and scene, in manuscript order, then by note. Use Match case, Whole word and Use regular expression to narrow the search.

Click a result to open it with the match selected. The chapter's own find bar is filled in for you, so Enter keeps going through that chapter.

Replacing everywhere

If you can edit the project and you're in Editing mode, choose Show replace and type in Replace with. Each result then shows what it will become. To skip a match, choose Leave this match out; to skip a whole chapter or note, choose Leave this document out.

Choose Replace all and confirm. Before anything changes, twee saves each chapter's and note's current version to its History, so you can always go back; see History and snapshots. You can also choose Undo replace in the Search tab, which takes back only the replace and keeps anything written since.

Someone else is writing

If a match changed after you searched, it's left alone, and Search tells you how many were skipped.

When you're offline

Search looks through the chapters and notes on this device. Any that aren't here yet are listed by name, and are searched when you're back online. Replacing offline changes the copies on this device, which upload when you reconnect; they get no History version first, but Undo replace still works. See Working offline.

On this page