Contents SedimentDocs

Guides

Tags and Collections

A tag groups artifacts. Each tag makes a collection: the artifacts carrying it, in one list, ready to open from anywhere.

Assigning a tag

A tag is a #word in an artifact’s description: letters, digits, _ or -, with at least one letter. There are four ways to assign one.

In the description

Edit Description (⇧⌘D), type the tag anywhere in the text, and press ↩. This is also how a new tag begins.

Quarterly numbers for the board. #finance #board

With Tag…

Select one or more artifacts and choose Tag… (⇧⌘T). Type a tag, one the shelf already uses or a new one, and press ↩ to add it to every artifact selected. Nothing changes until you choose Done, and ⎋ leaves everything as it was.

From the right panel

For a tag the shelf already uses, select one or more artifacts, open the Tags tab in the right panel (⌥⌘2), right-click the tag and choose Add to Artifact. With several selected, it tags them all at once, and the item shows how many it changes, for example Add to 3 Artifacts. Once every selected artifact carries the tag, the same item removes it instead and reads Remove from Artifact or Remove from 3 Artifacts.

From the command line

The sediment command tags an artifact as it files it, or later by its id. --tag adds a tag at the end of the description, and --untag removes one wherever it stands. Repeat either for more than one tag.

sediment add ./q3.html --tag finance --tag board
sediment update <id> --tag board --untag draft

Tip

Sediment is made to take in a lot from your agents, far more than you’d want to tag by hand. So rather than tagging each artifact yourself, set a rule once: which tags to use, and what each one means. Agents read it before they file, and tag as they go. Your instructions are where that rule lives.

Editing a tag

Edit Tag… (⌥⌘T) changes a tag across the shelf at once.

FieldWhat it does
MeaningOne line saying what belongs under the tag, and agents read it too. A good tag groups artifacts you’ll want together again; one artifact’s subject belongs in its description. A tag with none reads “No meaning yet”.
NameRenames the tag on every artifact.
Merge intoMoves every artifact to another tag.
Remove from allTakes the tag off every artifact, the Trash included.

A good tag groups artifacts you’ll want together again. One artifact’s subject belongs in its description, not in a tag of its own.

Finding what’s untagged

Untagged heads the Tags tab while any artifact has no tag. Click it to see them all.

Collections

Collections let you browse by subject instead of scrolling one long list.

A collection draws from the Shelf and the Archive together, and shows in the sidebar in place of the list. The sidebar’s heading names it and counts it: “#finance · 12”. Show Shelf (⌘1) takes you back.

Every tag is a collection by default, and Search… (⌘K) is the quick way to reach it. Type # and Sediment lists the shelf’s tags, the most used first, each with its count, narrowing as you type. Press ↩ on one and its collection opens, wherever you are.

Saving a collection

A collection you save stays at the foot of the sidebar, so a subject you come back to every day is one click or one key away, never a search. It’s still the tag underneath: whatever gets that tag next, from you or an agent, shows up there on its own.

Save Collection… (⌘D) saves the collection you’re in. The first six also answer ⌘4 to ⌘9, in order. Move Collection Up (⌃⌘↑) and Move Collection Down (⌃⌘↓) change that order, and so does a drag. Remove Collection… (⌘D) takes it off the sidebar and leaves its tag on every artifact.

Other ways in

ShortcutWhat it gets you
⌘4 to ⌘9One of your first six saved collections
⌥⌘2The Tags tab: click a tag to open its collection
⌘IShow Info: click a tag to open its collection
⌘FFind: type # and the tag to narrow the list in front of you instead