Skip to content

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

License

Notifications You must be signed in to change notification settings

iOSonntag/obsidian-plugin-treefocus

Repository files navigation

Obsidian Plugin: TreeFocus

Dynamic JSON Badge Dynamic JSON Badge Static Badge build

Ever wanted to (dim) a File or Folder?

For rarely used or unimportant Files or Folders.

Example:

  • /_SYS/ (maybe for your template and attachment Folders)
  • /some_dir/not_in_use/ (storing some irrelevant data)

Or maybe HIGHLIGHT some Files and Folders?

For the good stuff.

Example:

  • /Main/
  • /VeryImportantFolder_DoNotDelete_Plz/

Or any other imaginable config for your file explorer items?

✅ This plugin might do the trick!



TreeFocus - Intro

Highlight, dim & style your Files & Folders in the file explorer based on predefined or custom rules.

All your vault items in the left navigation panel can be styled. Either via

  • matching rules or
  • explicitly set via the item context menu

Every item in the file explorer evaluates to one of the following TreeFocusModes™ :

  • 💡 HIGHLIGHT
  • 🥱 DIM
  • 🍆 DEFAULT (Obsidian default)

Then each item will be styled based on that TreeFocusMode™.


Combine with other Plugins

You like the Icon Folder plugin?
Me too that is why this plugin is fully compatible with the plugin Icon Folder (obsidian-iconize).

Hurray 🕺 🎊 🎉 !!!
Big shout out @ FlorianWoelki for his awesome plugin.


How it all works

Example config result:


The screenshot is the result of choosing the

  • Style Transformation Preset: Fancy

and applying the following rules:

  1. TreeFocusMode™ - DIM
    on all Files and Folders starting with '_'

  2. TreeFocusMode™ - HIGHLIGHT
    on explicit selected items:

    • /Backend
    • /More


Settings

You can configure the behavior of this plugin by either defining general rules or explicitly set the TreeFocusMode™ per File / Folder.



Explicit Transformations: Configurations On Item Level

Right click on an item in the file explorer gives you options to explicitly apply TreeFocusModes™. This overwrites all defined rules and can be reset at any time.



Bugs

Please report any issues at: TreeFocus - GitHub Repository



Contribution

Pull requests are WELCOME !

If you have improvements or feel like you can solve a bug, please do not hesitate to submit a pull requests.

Even if you think you might not be skilled enough. That is pure bullsh*t. We are all beginners - all the time :)



Support This Plugin

If you like this plugin and want to support it - submit a feature request, a pull request or simply buy me a little coffee :) - Thank You.

Buy Me A
Coffee

or direct via



DISCLAIMER

I do not own the TreeFocusMode™ nor the TreeFocusModes™ trade mark. This is pure parody on the stupidity of that trade mark. Developers do these kind of jokes :D - Have a great day!

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •