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

Sticky Folders

Kevin YanKevin Yan26 downloads

Keeps parent folders pinned at the top of the file explorer while you scroll, merging deep paths into one row and highlighting a folder's range from its indent guide.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Keep parent folders pinned at the top of Obsidian's file explorer while you scroll,
so you always know which folder you are in, even five levels deep.

English · 简体中文

Scrolling a deep folder tree: parent folders stay pinned at the top, deeper levels merge into one row of grey names, hovering an indent guide highlights its folder, and clicking a pinned row collapses that folder in place

Why

Vaults organised by date or project get deep fast: Work / Meetings / 2026 / 2026-05 / 2026-05-21 / …. Scroll a little and the folder rows slide out of view. All that is left are indent lines that don't say where they lead.

Sticky Folders keeps those parents on screen, the way VS Code's sticky scroll keeps the enclosing function visible.

Without Sticky Folders With Sticky Folders
File explorer scrolled into a day folder: no parent folder is visible The same position with Sticky Folders: Work, Meetings, 2026 and 2026-05 / 2026-05-21 are pinned at the top

Features

Pinned parent folders

Every open parent folder of the top of the list gets its own pinned row, indented like the tree below it. When a folder ends, the next one pushes its row up. Pinned rows are copies of the real rows, so your theme's styling carries over.

A row limit that never runs out of room

Choose how many rows may be pinned (1–8, default 4). When nesting goes deeper, the extra levels share one row: grey names for the merged parents, the folder you are in at the end. You decide which end merges.

Merge deeper levels into the last row (default) Merge outer levels into the first row
Pinned rows Work, Meetings, 2026, then one row reading 2026-05 / 2026-05-21 Pinned rows Work / Meetings, then 2026, 2026-05 and 2026-05-21 on their own rows

Indent guide hints

Hover an indent guide, a pinned row or a grey name. The folder's whole range lights up in your accent colour and its name turns bold, both in the tree and in the pinned rows. Click the guide to collapse that folder.

Hovering the indent guide of 2026-05: the guide is highlighted along the whole folder, and 2026-05 is bold in the pinned row

Collapse in place

Click a pinned row, or one of the grey names, to collapse that folder. The list scrolls so the folder sits right under the rows that stay pinned, so you don't lose your place. Right-click a pinned row for Obsidian's usual folder menu.

Fits in

  • Light and dark themes.
  • Works on mobile: tap a pinned row to collapse it. Hover hints need a mouse.
  • Settings in English and Chinese, following Obsidian's language.
Dark theme Mobile
Sticky Folders in the dark theme, with an indent guide highlighted Sticky Folders in Obsidian's mobile layout

Installation

Community plugins

Sticky Folders is not in Obsidian's community plugin list yet. Until it is, install it with BRAT or by hand.

With BRAT

  1. Install and enable BRAT from Settings → Community plugins.
  2. Run BRAT: Add a beta plugin for testing from the command palette.
  3. Enter Tuosang/obsidian-sticky-folders and choose the latest version.
  4. Enable Sticky Folders under Settings → Community plugins.

BRAT also keeps the plugin up to date.

Manually

  1. Download main.js, manifest.json and styles.css from the latest release.
  2. Put them in <your vault>/.obsidian/plugins/sticky-folders/.
  3. Reload Obsidian and enable Sticky Folders under Settings → Community plugins.

Usage

There is nothing to set up. Open the file explorer and scroll.

Action What happens
Scroll the file list Open parent folders stay pinned at the top
Hover an indent guide, pinned row or grey name The folder's range is highlighted and its name turns bold
Click a pinned row or grey name That folder collapses and stays in place
Click an indent guide That folder collapses (can be turned off)
Right-click a pinned row Obsidian's folder menu for that folder
Scroll over the pinned rows The list scrolls as usual

Settings

Setting Default What it does
Max pinned rows 4 How many rows may be pinned at once (1–8)
When there are more levels than rows Merge deeper levels into the last row Which end shares one row of grey names
Indent guide hints On Highlight a folder's range and bold its name on hover
Click a guide to collapse On Clicking an indent guide collapses its folder

The settings also show up in Obsidian's settings search, and each one has a button to reset it to the default.

Sticky Folders settings

Compatibility

  • Obsidian 1.13 or later. Developed and tested on Obsidian 1.13.7 on macOS, and in Obsidian's mobile layout.
  • Works with Obsidian's core file explorer. Plugins that replace it with a view of their own are not supported.
  • Tested with the default theme (light and dark) and a community theme. If a theme looks wrong, please open an issue with a screenshot.

Known limitations

  • Dropping a file onto a pinned row does nothing. Drop it on the folder's real row, or on a subfolder below.
  • Hover hints need a mouse. On touch screens, tap the pinned rows instead.
  • The plugin relies on how Obsidian builds its file explorer, which a future Obsidian release could change. If something breaks after an update, please open an issue.

Privacy

Sticky Folders makes no network requests and collects no data. It reads the file explorer on screen and never opens your notes. Its settings are stored in the plugin's own data.json.

How it works

  • Pinned rows are copies of the real folder rows, drawn in a zero-height position: sticky element at the top of the explorer's scroll container. Wheel, trackpad and touch scrolling over them keep working.
  • Obsidian only renders the rows on screen, but the parents of those rows always stay in the page. The plugin measures them directly, so it never scans your vault.
  • Collapsing uses the explorer's own folder items without animation, so the folder can stay in place. If Obsidian changes that internal API, the plugin falls back to clicking the real row.

Development

git clone https://github.com/Tuosang/obsidian-sticky-folders.git
cd obsidian-sticky-folders
npm install
npm test          # layout logic in src/layout.ts
npm run lint      # the Obsidian community directory's ESLint rules
npm run build     # type-check and bundle into dist/
npm run dev       # rebuild on every change

To copy each build into a vault, put the vault's path in a git-ignored .vault file or set STICKY_VAULT.

To release, run npm version patch (it updates manifest.json and versions.json), then push the commit and a tag equal to the version without v, for example git push && git push origin 0.1.1. GitHub Actions builds the plugin and drafts a release with the three files.

Changelog

See CHANGELOG.md.

Feedback

Bug reports and ideas are welcome in issues, in English or Chinese.

Acknowledgements

Inspired by the sticky scroll in Visual Studio Code.

License

MIT © 2026 Kevin Yan

HealthExcellent
ReviewPassed
About
Keep parent folders pinned at the top of the file explorer so you always see your current folder context, even several levels deep. Pin parents as indented, theme-styled rows, highlight ranges on hover, tap or click to collapse folders, and merge extra nested levels into one row.
FoldersSidebarNavigation
Details
Current version
0.1.2
Last updated
2 days ago
Created
2 days ago
Updates
3 releases
Downloads
26
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Kevin YanKevin Yantuosang
GitHubtuosang
  1. Community
  2. Plugins
  3. Folders
  4. Sticky Folders

Related plugins

Portals

Pin folders and tags as customizable tabs with icons, colors, and folder notes for easier navigation.

Notebook Navigator

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

Quick Explorer

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

Vertical Tabs

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

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Recent Files

Display a list of recently opened files.

Folder notes

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.

Hide Folders

Quickly toggle the visibility of specific folders in the file navigator based on configured names. Useful for hiding attachment folders.

Reveal Active File Button

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

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.