---
description: 'Tags, searching by words, filtering by clicking or typing, every search key, and keeping searches as bookmarks.'
---

# Tags and search

Search is at the heart of Incipit. The search bar in the middle of the field isn’t a box you visit now and then: it’s how the field decides what to show. Browsing a group is a search for that group. Looking at the Trash is a search for the Trash. Once that clicks, the rest of the field makes sense.

This chapter covers tags first, then everything the search bar can do.

## Tags

A tag is a `#` followed directly by a word: `#idea`, `#chapter-3`, `#to-read`. Write it anywhere in a sheet, in the middle of a sentence or on a line of its own at the end, and that sheet is tagged.

- **There’s no separate tag field.** A sheet’s tags are simply the tags written in it. Delete the word and the tag is gone.
- **Tags work across groups.** A group says where a sheet lives; tags say what it’s about. One sheet can have as many as it needs.
- **Typing a tag suggests the ones you already use**, so the same idea doesn’t end up under three spellings. If what you type is new, choose **Create #word**.
- **A `#` followed by a space** is just a `#`, or the start of a heading at the beginning of a line.

Tags show on each sheet in the field, tinted so they’re easy to spot.

## Searching by words

Type into the search bar and the field narrows, as you type, to the sheets that hold those words. The best matches stand nearest the search bar.

- **Several words** find sheets that contain all of them, anywhere.
- **"Quoted words"** find that exact phrase.
- **A `-` before a word** leaves out sheets that contain it: `harbour -boat`.
- **A `|` between words** finds either: `heron | egret`. Use parentheses to group: `(heron | egret) dawn`.
- **Small typos are forgiven.** When a word finds little as written, search also tries words one typo away. Put `=` before a word to match it exactly, or `~` to always allow a typo.
- Search ignores upper and lower case, and matches words in Chinese and Japanese even though they’re written without spaces.
- **`#word`** in the search bar is a quick way to filter by that tag.

The count beside the search bar says how many sheets and words the current search holds. **Clear** empties the search and brings everything back.

## Filtering by clicking

Around the search bar stand a few labels, each a way to narrow what the field shows: **Tag**, **Group**, **Updated**, and, under **More Filters**, the rest. You never have to remember any syntax to use them:

1. Click a label, say **Tag**. It opens, and the values it can take appear below it: here, your tags, each with a number showing how many sheets it would find.
2. Type to narrow the list if it’s long, then click a value, or press <kbd>Return</kbd> for the first.
3. The filter now stands beside the search bar as a sentence, such as _Tag is novel_, in that tag’s colour.

Add as many filters as you like; the field shows only the sheets that match them all. Click a filter’s **×** to remove it, or press <kbd>⌫</kbd> in an empty search bar to remove the last one. Click a filter itself to change its value. Hold <kbd>⌥</kbd> while clicking it to turn it into its opposite: _Tag is not draft_.

Clicking a group’s name in the field does the same thing: it adds _Group is …_ as a filter, which is how you look inside a group.

## Filtering by typing

Every filter can also be typed, which is quicker once you know them. A filter is a `$`, a key, and usually a `:` and a value:

| Type               | Finds                                                            |
| ------------------ | ---------------------------------------------------------------- |
| `$tag:travel`      | Sheets tagged _travel_. `$tag:none` finds sheets with no tags.   |
| `$in:Journal`      | Sheets in the group _Journal_, or in any group inside it.        |
| `$updated:7d`      | Sheets changed in the last seven days.                           |
| `$created:2026-11` | Sheets made in November 2026.                                    |
| `$words:<300`      | Sheets under 300 words.                                          |
| `$title:harbour`   | Sheets with _harbour_ in the title.                              |
| `$heading:method`  | Sheets with _method_ in any heading.                             |
| `$quote:sea`       | Sheets with _sea_ inside a quote.                                |
| `$code:import`     | Sheets with _import_ inside code.                                |
| `$has:table`       | Sheets containing a kind of thing (see below).                   |
| `$task`            | Sheets with any task. `$task:call` for a task mentioning _call_. |
| `$todo`            | Sheets with a task still open. `$todo:call` likewise.            |
| `$done`            | Sheets with a task ticked off.                                   |
| `$link:github.com` | Sheets that link to a site.                                      |
| `$inbox`           | Sheets in the Inbox.                                             |
| `$open`            | Sheets open on the desk.                                         |
| `$trash`           | What’s in the Trash.                                             |

Put a `-` before any filter to turn it round: `-$tag:draft` is every sheet _without_ that tag, and `-$inbox` is everything that’s been filed.

### Dates

`$updated` (or its short form `$date`) and `$created` take a date in several forms:

- a named day or period: `today`, `yesterday`, `this-week`, `last-week`, `this-month`, `last-month`, `this-year`, `last-year`;
- a span back from now: `3d`, `2w`, `6m`, `1y`;
- a year, month or day: `2026`, `2026-11`, `2026-11-24`;
- before or after a day: `<2026-06-01`, `>2026-01-01`;
- a range: `2026-01..2026-03`.

### Lengths

`$words` takes a number: `500` means at least 500 words, `<100` fewer than 100, and `100..500` between the two.

### Kinds of content

`$has` takes one of: `code`, `image`, `link`, `list`, `math`, `quote`, `table`, `task`. So `$has:math $in:Thesis` finds the sheets of your thesis with formulas in them.

### Putting it together

Filters and words combine freely. A few examples:

- `$in:Novel $todo` — what’s left to do on the novel.
- `$tag:idea -$updated:30d` — ideas you haven’t touched in a month.
- `"tide table" $has:table` — sheets with that phrase and a table.
- `$words:2000 $in:Essays` — the long essays.

When you type a filter, the label it belongs to opens and offers its values, just as clicking does, so you can type the start and pick the rest.

## Ordering and grouping

Two more keys change how the results are set out rather than which sheets they include:

- `$sort` puts results in an exact order: `relevance`, `updated`, `created`, `title` or `words`. A `-` reverses it: `$sort:-words` puts the longest first. A sorted search shows as a list.
- `$bands` chooses how the field groups what it shows: by `activity` (the usual: pinned, lately, this month, dormant), by `relevance`, by `updated` or `created` date, or by `tag`.

[The field](/docs/field) explains bands and lists in more detail.

## Keeping a search

A search you come back to often, such as _open tasks at work_ or _drafts tagged for review_, can be kept. Choose **Keep This Search** while it’s in the search bar, and it’s saved as a **bookmark** in the box at the left edge of the field. Click a bookmark to bring its search back, exactly as you kept it, with the results up to date.

Bookmarks take the colour of the group they search in, so they’re easy to tell apart. Right-click one to delete it.

## Finding a sheet quickly

When you know which sheet you want, <kbd>⌘</kbd> <kbd>P</kbd> is quicker than the field. It opens the **switcher** wherever you are: type a few words from the sheet’s title or text and press <kbd>Return</kbd>. See [The desk](/docs/desk).

## Searching settings and commands

The same search bar finds more than sheets:

- Start with `>` to search **commands**: `>split`, `>export`. <kbd>⌘</kbd> <kbd>K</kbd> opens the field with the `>` already typed.
- `$settings` searches **Settings** by their words; <kbd>⌘</kbd> <kbd>,</kbd> opens them.
- In Settings, `$key:` followed by a shortcut, such as `$key:⌘K`, finds the command that key belongs to.

Those are covered in [Settings and appearance](/docs/settings) and [Keyboard shortcuts](/docs/keys).
