tnmyk34 downloadsShows pinned tabs in a separate row above the tab bar, like VS Code and IntelliJ.
An Obsidian plugin that shows pinned tabs in a separate row above the tab bar, like VS Code and IntelliJ.
Pure CSS. Obsidian marks pinned tabs with a .mod-pinned status icon inside the tab header, which enables :has(.mod-pinned) selectors. When a tab is pinned, the tab bar switches from flexbox to a CSS grid with three rows:
pinned tabs ← grid row 1
───────────── ← grid row 2 (divider, rendered via ::before)
unpinned tabs ← grid row 3
Tab headers are never moved in the DOM, so Obsidian's own tab rendering (updateTabDisplay) cannot interfere — no flicker, no disappearing tabs, no fighting with drag-and-drop.
The plugin's JavaScript is minimal: it toggles two body classes for the settings (enabled / compact) and registers a few commands.
:has() support)npm install
npm run dev # watch mode
npm run build # production build
npm run lint # eslint
version in manifest.json and add the matching entry to versions.jsonnpm run buildv prefix) and attach main.js, manifest.json, styles.css