usero2-endofday4 downloadsAutomatically close the oldest tab when a maximum tab limit is reached.
A lightweight Obsidian plugin that helps you keep your workspace clean by automatically closing the oldest tabs when you reach a predefined limit. No more endless cluttered tabs! Just set your desired limit, and the plugin will seamlessly close your least recently used (LRU) tabs in the background.

main.js, manifest.json, styles.css if any).obsidian-plugins-auto-close-oldest-tabs inside your vault's .obsidian/plugins/ directory.Settings > Community plugins.Once the plugin is enabled, you can configure it via Settings > Auto Close Oldest Tabs:
3). Once you open the 4th tab, the oldest tab will automatically close.If this plugin has improved your Obsidian workflow, saved you time, or you just want to support its continued development, please consider donating!
Your support is incredibly appreciated, helps fix bugs, and keeps this project alive and growing. 🙏
https://buymeacoffee.com/endofday
Built with ❤️ for the Obsidian Community