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

TreeFocus

iosonntagiosonntag7k downloads

Highlight, dim & style your files & folders in the file explorer (navigation) based on predefined or custom rules.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates14

Highlight, dim and style the files and folders in your Obsidian file explorer - automatically, with rules, or item by item.

TreeFocus styling the file explorer

A busy vault makes every file look equally important. TreeFocus lets you turn down the noise (template, attachment and archive folders) and bring the signal forward (your active projects) - so your file explorer reflects what actually matters to you.


Contents

  • Features
  • Installation
  • How it works
  • Matching rules
  • Per-item overrides
  • Style presets
  • Compatibility
  • Contributing
  • Support
  • License

Features

  • 💡 Highlight the files and folders you care about.
  • 🥱 Dim the ones you rarely touch.
  • 🧰 Rule-based styling - match by name or full path using equals, contains, starts with, ends with, or regex.
  • 🖱️ Per-item overrides - right-click any item to set its mode explicitly, overriding all rules.
  • 🎨 Style presets - choose how highlight and dim actually look (Default, Fancy, Delight).
  • 📱 Desktop and mobile - works on every platform Obsidian runs on.
  • 🤝 Plays nicely with the Iconize plugin.

Installation

From within Obsidian (recommended)

  1. Open Settings → Community plugins and make sure Restricted mode is off.
  2. Click Browse, search for TreeFocus.
  3. Click Install, then Enable.

Manual installation

  1. Download main.js, manifest.json and styles.css from the latest release.
  2. Copy them into <your-vault>/.obsidian/plugins/treefocus/.
  3. Reload Obsidian and enable TreeFocus under Settings → Community plugins.

Requires Obsidian 1.2.0 or newer.


How it works

Every item in the file explorer resolves to exactly one focus mode:

Mode Meaning
💡 Highlight Make the item stand out.
🥱 Dim Fade the item into the background.
🍆 Default Leave it as Obsidian renders it.

A mode is assigned in one of two ways, in order of priority:

  1. Per-item override - set explicitly via the right-click context menu (always wins).
  2. Matching rules - the first rule whose matcher matches the item.

The chosen mode is then rendered according to your selected style preset.

TreeFocus settings


Matching rules

A rule says "apply this mode to every item that matches this condition". Each rule combines a match method with a match context, plus optional exclusions.

Match method

Method Matches when the value...
Equals is exactly equal
Contains appears anywhere
Starts with is a prefix
Ends with is a suffix
Regex matches the regular expression

Match context

Context Matched against
Name the file or folder name
Path the full vault-relative path

Default rules

TreeFocus ships with a few sensible defaults you can edit or remove:

  • 🥱 Dim everything whose name starts with _ (e.g. _templates, _attachments).
  • 🥱 Dim everything whose name starts with . (hidden / system items).
  • 💡 Highlight everything whose name starts with ! (e.g. !inbox, !active-project).

Tip: prefixing a folder with _ or ! is a quick, zero-config way to dim or highlight it.


Per-item overrides

Right-click any file or folder in the explorer to set its mode explicitly. This overrides every matching rule and can be reset at any time.

TreeFocus context menu


Style presets

The focus modes are abstract - the style preset decides how Highlight and Dim are actually drawn. Pick the one that fits your theme:

Preset Look
Default Subtle, theme-friendly emphasis and fading.
Fancy Stronger, more decorative styling.
Delight A little extra flair.

Compatibility

TreeFocus is fully compatible with Iconize (obsidian-iconize) - your folder icons and TreeFocus styling work side by side. Big thanks to @FlorianWoelki for that excellent plugin. 🎉


Contributing

Pull requests are very welcome. If you have an improvement or a fix, please open a PR or an issue.

And do not talk yourself out of it because you think you are "not skilled enough" - we are all beginners, all the time. 🙂

Development

pnpm install          # install dependencies (pnpm 11+)
pnpm run dev          # watch + rebuild on change
pnpm run build        # type-check and produce a production build

Commits follow Conventional Commits (enforced by commitlint); releases are cut automatically by semantic-release.


Support

If TreeFocus is useful to you, consider supporting its development - a feature request, a pull request, or a small coffee all help. Thank you!

  • Buy Me a Coffee
  • GitHub Sponsors
  • PayPal
  • Homepage

License

MIT © iOSonntag


Disclaimer: "TreeFocusMode™" is a tongue-in-cheek joke - a little parody of trademark overzealousness. No trademarks were harmed in the making of this plugin. Have a great day! 😄

HealthExcellent
ReviewCaution
Details
Current version
1.1.8
Last updated
2 months ago
Created
3 years ago
Updates
14 releases
Downloads
7k
Compatible with
Obsidian 1.2.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
GitHub Sponsors
PayPal
Support
Author
iosonntagiosonntag
iOSonntag.com
GitHubiosonntag
  1. Community
  2. Plugins
  3. TreeFocus

Related plugins

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Notebook Navigator

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

TaskNotes

Note-based task management with calendar, pomodoro and time-tracking integration.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

BRAT

Easily install a beta version of a plugin for testing.

Homepage

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