Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

LockPin

shensmartshensmart14 downloads

Keep important tabs open, prevent accidental closing or replacement, and jump back to locked notes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Keep important tabs open in Obsidian. LockPin prevents locked tabs from being closed or replaced when you open another note.

中文说明

Features

  • Lock and unlock notes from the file or editor context menu, or the command palette.
  • Show a small shield-check icon on locked tabs. Click it to unlock.
  • Hide the close button and block closing a locked tab until it is unlocked.
  • Open other notes in a new tab instead of replacing a locked note.
  • Jump to an existing locked note instead of opening a duplicate tab.
  • Remember locked files between sessions.
  • Support Markdown notes and Kanban views, with English and Chinese interface text.

Requirements

Obsidian desktop 1.9.14 or later. Mobile is not supported in this release. Kanban support requires the separate Kanban plugin.

Installation

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest release, or download and extract the lock-pin-<version>.zip archive.
  2. Put the three files in <vault>/.obsidian/plugins/lock-pin/.
  3. Restart Obsidian, open Settings → Community plugins, and enable LockPin.

Community directory

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.

Usage

  • Right-click a file in the file explorer, or right-click inside a note, then choose Lock tab.
  • Alternatively, run LockPin: Toggle tab lock from the command palette. You can assign a shortcut in Settings → Hotkeys.
  • A locked tab shows a shield-check icon in place of its close button. Click the shield, use the context menu, or run the command again to unlock it.
  • Configure the language, context-menu entries, and notifications in the plugin settings.

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.

Privacy

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.

Development

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.

Support and license

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.

HealthExcellent
ReviewCaution
About
Keep important tabs open by locking notes to prevent them from being closed or replaced when you open other files. Show a shield icon on locked tabs and unlock them with a click or context menu. Jump to existing locked notes instead of opening duplicates and remember locks between sessions; support Markdown and Kanban views.
InterfaceFilesNavigation
Details
Current version
0.0.3
Last updated
Yesterday
Created
2 years ago
Updates
2 releases
Downloads
14
Compatible with
Obsidian 1.9.14+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
PayPal
Author
shensmartshensmart
GitHubshensmart
  1. Community
  2. Plugins
  3. Interface
  4. LockPin

Related plugins

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

Note Toolbar

Add customizable toolbars to your notes.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.

Recent Files

Display a list of recently opened files.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Front Matter Title

Define a title in frontmatter to be displayed as the filename.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.