Tree Modal

by krannich
5
4
3
2
1
Score: 50/100

Description

The Tree Modal plugin changes how files open from the explorer by sending them into a large modal preview instead of the main editor. It keeps the native view header, so switching between read and edit mode still feels familiar. Normal editor opening is not blocked either, because Cmd or Ctrl click can bypass the modal when needed. A context menu fallback is included, which matters if the explorer DOM changes later. Internal links clicked inside the modal continue in the same window, so browsing notes feels continuous instead of jumpy.

Reviews

No reviews yet.

Stats

0
stars
689
downloads
0
forks
187
days
202
days
202
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
9
commits

README file from

Github

Tree Modal

Obsidian plugin that opens files from the file explorer in a modal preview instead of in the editor.

Features

  • Click a file in the tree → 80% viewport modal with Obsidian's native view header (read/edit toggle, full width)
  • Cmd/Ctrl-click → opens the file normally in the editor (escape route)
  • Right-click → "Open in modal" as a fallback (survives Obsidian DOM updates)
  • Internal links inside the modal are captured and opened in-place in the same modal
  • Configurable trigger modifier (none / Shift / Alt)
  • Toggle to hide the center workspace area and give the space to the sidebars
  • Toggle to hide sidebar toggles and sync status icon
  • Optional: ensure a terminal view stays mounted in the right sidebar after startup

Install

Community plugin (once accepted)

Settings → Community plugins → Browse → search "Tree Modal" → Install → Enable.

Manual

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

Development

npm install
npm run dev     # watch mode
npm run build   # production build (minified)

For local testing, symlink the plugin folder into your vault:

ln -s "$(pwd)" <vault>/.obsidian/plugins/tree-modal

How it works

The default click handler of the file explorer is intercepted via a DOM event listener on document in capture phase, filtered to .nav-file-title elements. preventDefault() and stopPropagation() block the default "open in editor" behavior; Cmd/Ctrl-click and folder clicks pass through unchanged.

The modal embeds a detached WorkspaceLeaf in markdown mode, so everything Obsidian provides (live preview, wikilink completion, Templater, the native read/edit toggle) keeps working inside the modal.

As a supported second path, a file-menu entry "Open in modal" is registered via the official API, independent of the DOM structure.

Limitations

  • data-path on .nav-file-title is not part of the official plugin API. It works reliably today but could theoretically break with an Obsidian update. The file-menu fallback keeps the core feature usable in that case.
  • Non-markdown files show a hint instead of a preview; Cmd/Ctrl-click opens them normally.

License

MIT

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Alternative Explorer
3 months ago by sk-obsidian
Alternative Explorer is an Apple Notes–style sidebar for browsing folders and notes in Obsidian. Switch between an expandable folder tree and a notes list — a compact alternative to the built-in File Explorer.
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Better Export PDF
5 months ago by l1xnan
Obsidian PDF export enhancement plugin
BrainCore LifeOS
2 months ago by 囍樂
BrainCore 侧边栏不仅是一个展示面板,更是你整个 Obsidian 知识库的“核心呼吸机”。它由 6 大模块组成,涵盖了时间感知、极速收集、工作流转、习惯养成与知识内化。一切信息从这里输入,最终也会在这里沉淀。
Claude Sidebar
3 months ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Collapse All
5 years ago by Nathonius
Copy Block Link
5 years ago by mgmeyers
Get links to blocks and headings from Obsidian's right click menu.
Cornell Marginalia
6 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
Ctrl Click Links
3 months ago by Eiko Wagenknecht
Restore the link opening behavior in Obsidian.
Custom Sidebar Icons
3 years ago by RavenHogWarts
Custom Icons
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Discrete
a year ago by shkarlsson
Excalink
3 months ago by Aditya Kumar
Excalink is an Obsidian plugin that enables IntelliSense-style autocompletion for groups and named frames inside .excalidraw.md files. When you type [[filename#, it suggests all available frame names, allowing fast, precise linking to parts of your drawings.
External Link Opener
4 years ago by zorazrr
Obsidian plugin to open external links in modals or tabs
File Explorer Markdown Titles
5 years ago by Dylan Elliott
Obsidian Plugin that adds the the markdown title within your notes to the file explorer
File Explorer Reload
6 months ago by mnaoumov
Obsidian Plugin that reloads the file explorer files list
File Explorer++
6 months ago by kelszo
A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
File Preview
2 years ago by Huajin
Add file preview contents under file in file explorer.
Find Orphaned Images
4 months ago by josmarcristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
Flexplorer
5 months ago by kh4f
🗃️ Obsidian File Explorer Enhancer
Floating Headings
9 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
Floating Quick Note
2 months ago by sabosman
Floating Quick Note is an Obsidian plugin that lets you open a small, detached note window that stays on top of your other apps. It is great for taking notes during meetings or while you are working in other programs without having to switch back and forth to Obsidian.
Frontmatter Alias Display
4 years ago by muhammadv-i
A plugin for Obsidian.md to show front-matter aliases as display names in the file menu.
GTD Tasks
4 months ago by unpreditable
Heading View
3 months ago by 菅原ユリア
Headings in Explorer
2 years ago by Patrick Chiang
This Obsidian plugin makes headings first class concepts in the file explorer and consolidates navigation to a single panel.
Hide Folders
5 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
Hide Index Files
2 years ago by d7sd6u
Hides folder notes from the file explorer
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Hotkeys++
6 months ago by argenos
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
ICOR for Life - PDF Annotation
2 months ago by Thomas Roedl
Highlight text or draw a box on a PDF and get a note in the vault for it, with a deep link back, a card on any canvas by drag and drop, and a sidebar of every highlight in the open PDF. Part of the ICOR for Life suite.
InventExplorer
19 days ago by solidinvent
Add file and folder icons, colors and text styles to the file explorer. Lucide, Tabler, Boxicons, Phosphor and emoji icons, with regex rules that style many paths at once.
Mark Open Files
2 years ago by Michael Schrauzer
Adds a marker to all the File Explorer items that are currently open in the Obsidian workspace.
Markdown Formatting Assistant
6 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Masonry
a month ago by Mario Miletta
A visual masonry browser for Obsidian notes and filtered Bases.
Mobile Sidebar Notes
3 months ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Modal Opener
2 years ago by Muuxi
Open files and links in modal windows, or create and edit compatible files in modal windows.
Notepad
20 days ago by diyar947
Obsidian plugin: a tabbed sidebar with a scratch page, clipboard history and your Timebox sessions.
Novel Word Count
5 years ago by Isaac Lyman
Obsidian plugin. Displays a word count or other statistic for each file, folder and vault in the File Explorer pane.
PhraseSync
a year ago by Digvijay S. Todiwal
An Obsidian plugin that auto-suggests internal links, with dropdowns, as you type, enhancing note interconnectivity.
Prominent Bookmarked Files
5 years ago by Jeremy Valentine
Prominently display starred files in Obsidian.md
Quick Peek Sidebar
2 years ago by Bradley Wyatt
Open and close the Obsidian sidebars on hover.
Rainbow Folders Fixer
2 years ago by Dee
Stop rainbow folders from changing colors as you scroll through the File Explorer in Obsidian.md
Rainbow-Colored Sidebar
2 years ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 18 themes included.
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Reveal Active File Button
5 years ago by Clare Macrae
Obsidian plugin to add a button to the top of the Obsidian File Explorer, to reveal the active file.
Reveal Folded
2 years ago by d7sd6u
Adds a command that reveals current file while collapsing every other tree item
Scratchpad
a year ago by KVH
An open source Obsidian plugin for quick note-taking and freehand drawing.
Scrolls To Nav Top
a year ago by mario
Simply scrolls to nav top
Sidebar Expand on Hover
5 years ago by Tousif Iqbal Anik (toiq)
This Obsidian plugin expands or collapses the sidebar based on mouse hovering on the ribbons.
Sidebar Keyboard Navigation
4 months ago by denvolok
Obsidian plugin to smoothly navigate File Explorer using keyboard only.
Sidet
4 months ago by Jiao Yingxing
流畅自然的 AI 对话体验,移动端也出色。A smooth, natural AI chat experience that also works great on mobile.
Simple File Info
2 years ago by Lukas Capkovic
Simple Focus
2 years ago by Lin Qing
Allows you to focus on a specific file or folder. 让你可以专注于一个文件或文件夹
Simple Meeting Sidebar
2 months ago by Wren
Apple Calendar meetings in your sidebar and daily notes.
Soomda
4 years ago by Michael Lee
🙈 Soomda — An Obsidian plugin that lets you quickly hide your sidebars.
Spaces
2 months ago by Peter Jamrozinski
A lens for your Obsidian vault
Strip Internal Links
3 years ago by Adi Ron
A simple Obsidian plugin to strip internal links from files
Task Collector
6 months ago by ebullient
Manage tasks and logs within an Obsidian note.
Telegram Sidebar
3 months ago by reallygood83
TikToker
8 months ago by ameyxd
A Tiktok parser and saver for Obsidian
Today Alias
3 months ago by tanoshia
Plugin for Obsidian md editor. This hides a date prefix of any file name (in browser and tabs).
URI Converter
2 years ago by wenlzhang
An Obsidian plugin to convert Obsidian URIs to Obsidian internal links.
WebDAV Explorer
8 months ago by 蓝星晓夜
WebDAV Server Explorer.
Window Collapse
5 years ago by Guilherme Quental
WorkBuddy
3 months ago by Jason
obsidian plugin for workbuddy
Zen Space
a year ago by Aditya Amatya
An enhanced file explorer showing relevant only relevant files for focused work.