srwildman13 downloadsAutomatically pin tabs based on configurable rules: path patterns, today's daily note, frontmatter properties, or exact file paths.
An Obsidian plugin that automatically pins tabs based on configurable rules.
| Rule Type | Description |
|---|---|
| Today's daily note | Pins today's daily note whenever it's opened. Reads your daily notes folder and date format from Obsidian's core settings. |
| Path pattern | Pins files matching a glob pattern (e.g. Projects/*.md, **/*.canvas). |
| Exact path | Pins a specific file by its vault path (e.g. TODO.md). |
| Frontmatter property | Pins files where a frontmatter property matches a value (e.g. pinned: true). Leave value empty to match any value. |
Rules are evaluated in order. The tab is pinned if any enabled rule matches.
main.js and manifest.json from the latest release.obsidian/plugins/auto-pin/ in your vaultGo to Settings > Auto Pin to manage your rules. The plugin ships with one default rule: pin today's daily note.
setPinned API, which is not part of the public type definitions. This is stable and widely used by plugins, but could theoretically break in a future Obsidian update.* (single segment) and ** (any depth) wildcards.