VirtFolder

approved

by gr0grig

Creating a hierarchical structure like Luhmann's Zettelkasten

★ 79 stars↓ 9,992 downloadsUpdated 1mo agoMIT

VirtFolder plugin

A plugin for creating a hierarchical structure in Obsidian.

Allows you to quickly find notes by navigating the knowledge base like a book table of contents.

virt_folder_example

Articles

Features

  • The ability to perform all operations using hot keys
  • Dragging and dropping notes with the mouse, including custom sort order
  • Creating and deleting notes via the right-click menu
  • Add files to virtual folders from the file explorer context menu
  • Emoji icon picker with categorized groups for notes
  • Tag-based note highlighting with configurable colors
  • Frontmatter as HTML data attributes for CSS styling
  • Optional string format for single-parent folder links
  • Create notes via Unique note creator
  • Front Matter Title plugin support
  • Database optimization
  • Tree search using Obsidian's core search syntax

Searching the tree

Type in the search box above the tree to filter notes. Queries use Obsidian's search engine, including content, file:, path:, tag:, properties, quoted phrases, regular expressions, OR, and exclusions such as -term. Results update as notes change. Existing path/tag filters still apply.

Only matching notes are shown. Matching children whose parents do not match are shown at the root of the results; matching orphan notes are also searchable. Clear the query or press Escape to restore the normal tree and its expanded branches. Search is local to each VirtFolder pane and resets when the pane closes. Drag-and-drop is disabled while filtering, since some parents may be hidden.

The core query parser is an internal Obsidian API. If an Obsidian version does not expose it, the search box displays an error; clearing search still restores the normal tree.

Documentation

The current documentation is available in the docs folder.

The old documentation is located on GitBook.

Example

https://github.com/user-attachments/assets/a4990b31-c8ea-48c8-815a-98521d81fc7d

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.