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

LRU Tab Limiter

Ivan ChenIvan Chen24 downloads

Keeps Markdown tabs under a limit by replacing the least recently used tab.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

LRU Tab Limiter is an Obsidian plugin that keeps the number of open Markdown tabs under a configurable limit.

When opening a new Markdown tab would exceed the limit, the plugin closes the least recently used Markdown tab instead of blocking the new tab. Switching to a tab marks it as recently used, so older inactive tabs are replaced first.

This project is based on the original Tab Limiter plugin and was modified in May 2026 to change the limit behavior from rejection to LRU replacement.

Settings

Use the plugin settings tab to choose the global maximum number of Markdown tabs. The default limit is 5.

Do not enable this plugin together with the original Tab Limiter plugin. They manage the same workspace behavior and will conflict with each other.

Manual installation

  1. Build the plugin with the commands below.
  2. Create a folder named tab-limit-lru under your vault's .obsidian/plugins/ directory.
  3. Copy main.js and manifest.json into that folder.
  4. Reload Obsidian and enable LRU Tab Limiter in community plugins.

Development

Install dependencies and build the plugin:

npm ci
npm run build

The build outputs main.js, which can be installed with manifest.json in an Obsidian vault plugin directory.

96%
HealthExcellent
ReviewSatisfactory
About
Limit open Markdown tabs to a configurable maximum (default 5). Close the least-recently-used Markdown tab when opening a new one would exceed the limit, with tab switches marking recency so older inactive tabs are replaced first.
WorkspacesNavigation
Details
Current version
1.1.1
Last updated
6 days ago
Created
2 weeks ago
Updates
2 releases
Downloads
24
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
GPL-3.0
Report bugRequest featureReport plugin
Author
Ivan ChenIvan Chenfireshort
GitHubfireshort
  1. Community
  2. Plugins
  3. Workspaces
  4. LRU Tab Limiter

Related plugins

Homepage

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

Vertical Tabs

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

Open Tab Settings

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

Notebook Navigator

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

Recent Files

Display a list of recently opened files.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Creases

Tools for effectively folding Markdown sections.

Quiet Outline

Make outline quiet and more powerful, including no-auto-expand, rendering heading as Markdown, and search support.

Image Context Menus

Image context menus (mostly on right click): Copy to clipboard, Open in default app, Show in system explorer, Reveal file in navigation, Open in new tab.

Remember cursor position

Remember cursor and scroll position for each note.