KosshiKosshi

This guide is for 1.24 Beta. The released version is 1.23.

Search

As you enter conditions in the Search field, matching rows remain visible and matches are highlighted.

Search field placement and switching

On wide screens like Mac and iPad, the search field appears as a compact input in the top-right corner of the header. When your query wraps over two or more lines, the header expands downward so you can see everything. Queries containing backlinks: also display the linked row name instead of the internal ID.

The compact search field in the top-right corner of the header
On wide screens, the search field fits in the top-right corner of the header.

When you want to build conditions in a wide input field, switch to the wide view below the header using the button in the search field. The wide view is remembered and opens at that width next time. You can also switch back to the top-right view.

The expanded wide search field directly below the header
The button switches to the wide view directly below the header. The expanded setting is remembered for next time.

On iPhone, in a narrow pane, or when using Replace in Document, the wide view appears directly below the header.

The mode menu separates three kinds of text work:

ModeSearches
SearchFilters rows in the outline with text, tags, dates, and search conditions.
Find in DocumentText in the outline, without filtering rows.
Replace in DocumentText in the outline, without filtering rows, with replacement actions.

This page explains Search in detail. Choose Find in Document or Replace in Document from the mode menu to search or replace text without filtering rows. For Find in Preview, see Preview & Export.

Build a search

Start with text, then add conditions when you need to narrow the result. Text searches topics and notes by default.

ExpressionMeaning
projectRows containing project
"release notes"The exact phrase release notes
project AND urgentRows matching both terms
project OR roadmapRows matching either term
project NOT archivedRows matching project but not archived
-archivedExcludes rows containing archived
project roadmapSame as project AND roadmap; spaces mean AND
project AND (today OR urgent)Groups alternatives with parentheses

AND, OR, and NOT are case-insensitive. Conditions can be combined with text in the same expression.

See Search Reference for a complete list of search conditions.

Text in images

Search also finds text inside attached images. Matching words are highlighted on the image.

Filter menu

Choose the filter button at the right side of the Search field to add common conditions without typing them. Each category shows the syntax it inserts, so the menu also works as a quick introduction to the search syntax.

CategoryChoicesInserts
StateIncomplete, Completed, Bookmarkedis:incomplete, is:complete, is:bookmarked
ContainsLink, Any tag, Note, Any attachment, Image, Sketch, Filehas:link, has:tag, has:note, has:attachment, has:image, has:sketch, has:file
Row datesToday, Last 7 days, Last 30 days for Modified or Createdmodified:today, modified:7d, created:30d, and so on
Date tagsOverdue, Today, Tomorrow, This Week, Next Week, This Month, Any date tag, Sort by datedate:<today, date:today, has:date, sort:date, and so on

Conditions already in the search are shown with a checkmark. Choose a checked item again to remove that condition. Clear all filters removes the conditions and keeps the words you typed.

The menu lists common filter conditions. Enter is:todo, is:done, is:mirror, has:checkbox, has:row-link, in:note, level:, tag:, backlinks:, and negated conditions directly in the search field, using suggestions to complete them.

To hide the filter button, turn off Settings > Appearance > Controls > Show Filter Menu in Search Field.

Syntax help

On Mac, hovering over each part of created:today shows its meaning. When a search expression cannot be read, a warning (an Invalid syntax badge in wide view) appears to the right of the input field; click or tap it to see the reason. While typing, suggestions appear instead of errors.

Working in the results

Search results start at the top of the outline. You can edit rows while searching. If an edit makes a row stop matching, for example completing a task under is:incomplete, removing a bookmark under is:bookmarked, or editing a note, the row stays visible until you change the search. This also applies to Undo and Redo. When Hide Completed Rows is on, completed rows are still hidden.

Completion and search history

Search offers suggestions for existing tags, tag values, dates, backlink targets, and recent searches. The completion behaves in two ways:

  • Inline completion appears as a gray continuation in the field. Press Tab to accept it.
  • When several candidates are available, a completion menu appears below the field. Move with ↑ and ↓, then press Enter to accept the selected candidate. You can also select a candidate with the pointer.

Type #, @, date:, or backlinks: to open the relevant candidates. The selected condition stays visible in the search field, so you can continue building the expression.

Recent searches also appear as candidates, so you can reuse a previous query without rebuilding it.

Version: 1.23 · 1.24 (beta)