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

Latch

Fourthform19 downloads

Keep pinned tabs open until you explicitly unpin them.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

Keep pinned tabs open.

Use

Pin a tab to protect it. Unpin it to close it.

Latch prevents the close command from unpinning your tab, even after repeated presses of Cmd+W / Ctrl+W. It also blocks direct tab removal, including the native close button and plugins that use Obsidian's standard tab-removal method. A brief notice explains a blocked close.

Unpinned tabs behave normally. No settings or hotkey changes are needed.

Install

Latch is available in the Obsidian community directory.

  1. Install Latch from Obsidian's Community plugins, or download main.js and manifest.json from the latest release.
  2. Create .obsidian/plugins/latch/ inside your vault and copy both files into it.
  3. Restart Obsidian and enable Latch in Settings → Community plugins.

Disable other tab-closing protection plugins to avoid conflicting behavior. Disable Latch at any time to restore normal closing behavior.

Limits

Requires Obsidian 1.13.7 or later. Tested on macOS; Windows and mobile are not yet tested.

Latch protects individual tab closure. It does not block quitting, closing an entire pop-out window, switching workspace layouts, or replacing a tab's content. A plugin that bypasses the guarded closing methods may bypass protection.

Privacy

No network requests, telemetry, note-content access, or vault-file writes. Latch changes tab-closing behavior only.

Develop

Use Node.js 20 or later. No dependencies to install.

npm run check

This builds main.js from src/ and runs the tests. Obsidian supplies the runtime API. The generated file is committed so release assets can be compared with the source.

  • src/main.js: startup, notices, and error reporting.
  • src/protection.js: the rule for protecting a tab.
  • src/obsidian.js: Obsidian hooks and cleanup.
  • tests/: behavior and simulated integration tests.

See architecture for the contract and compatibility boundary, and releasing for the release process.

License

MIT

HealthExcellent
ReviewPassed
About
Keep pinned tabs open. Block close commands, the native close button, and plugins using Obsidian's tab-removal API from unpinning or closing pinned tabs. Show a brief notice when a close is blocked.
WorkspacesInterface
Details
Current version
1.0.0
Last updated
Last week
Created
Last week
Updates
1 release
Downloads
19
Compatible with
Obsidian 1.13.7+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Fourthformfourthform
  1. Community
  2. Plugins
  3. Workspaces
  4. Latch

Related plugins

Hearth

A beautiful, heavily customizable home screen — dashboard, launchpad, mission control, homescreen, search - all in one. As simple or complex as you need.

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.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Note Toolbar

Add customizable toolbars to your notes.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Hover Editor

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

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.