-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Clipboard Pin
github-actions[bot] edited this page Aug 9, 2026
·
1 revision
Keeps one entry at the top and out of the retention sweep.
ed clipboard pin <index> [--json]
| Name | Type / values | Default | What it does |
|---|---|---|---|
<index> |
integer, from 1 | required | The entry number, counting from 1. |
--json |
flag | off | Emit JSON on stdout. |
{
"changed": true,
"id": "5C2F0A1E-1B4D-4E0A-9A21-7C3B4D8E6F10",
"index": 1,
"pinned": true
}Pinning exempts an entry from the sweep that clipboardMaxItems and
clipboardMaxAgeDays drive, which is the only way to keep something the history
would otherwise drop. Pinned entries sort to the top of the list unless
ed config set clipboardPinTo bottom says otherwise.
Pinning something already pinned is not an error: changed is false, the file
is not rewritten, entry 1 was already pinned goes to stderr, and the exit code
is 0.
Examples:
ed clipboard pin 1
ed clipboard pin 3 --json
$ ed clipboard pin 3
pinned entry 3
-
ed clipboard, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides