shensmart14 downloadsKeep important tabs open, prevent accidental closing or replacement, and jump back to locked notes.
Keep important tabs open in Obsidian. LockPin prevents locked tabs from being closed or replaced when you open another note.
Obsidian desktop 1.9.14 or later. Mobile is not supported in this release. Kanban support requires the separate Kanban plugin.
main.js, manifest.json, and styles.css from the latest release, or download and extract the lock-pin-<version>.zip archive.<vault>/.obsidian/plugins/lock-pin/.Open the LockPin community listing and choose Add to Obsidian. In-app installation requires a successful automated review; if that button is unavailable, use manual installation while the review is pending.
Locking protects a tab from closing or replacement; it does not prevent editing, encrypt a file, or restrict access to its contents. Lock state is stored by file path, so another tab displaying the same file is also treated as locked. Renamed or deleted files may need to be locked again.
The plugin relies on Obsidian's tab UI and intercepts tab open/close operations. Future Obsidian releases or other tab-management plugins may affect compatibility.
LockPin works offline. It sends no network requests, collects no telemetry, and requires no account. Settings and locked file paths are stored locally in the plugin's data.json. It does not read or write files outside the vault.
npm ci
npm run build
npm test
The build checks TypeScript and generates main.js. Reload the plugin after rebuilding. Release tags must exactly match manifest.json, for example 0.0.2, without a v prefix. GitHub Actions builds and publishes the three plugin assets and an installation archive.
Report issues at shensmart/obsidian-lock-pin.
Copyright (c) 2025 shensmart. Licensed under the MIT License. The shield icon is provided by Obsidian's built-in Lucide icon set.