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
355
downloads
0
forks
142
days
157
days
157
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.
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Better Export PDF
4 months ago by l1xnan
Obsidian PDF export enhancement plugin
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.
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.
Hotkeys++
4 months ago by argenos
Adds hotkeys to toggle todos, ordered/unordered lists and blockquotes in Obsidian
File Explorer++
4 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.
Flexplorer
3 months ago by kh4f
🗃️ Obsidian File Explorer Enhancer
Claude Sidebar
2 months ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Copy Block Link
5 years ago by mgmeyers
Get links to blocks and headings from Obsidian's right click menu.
Collapse All
5 years ago by Nathonius
Hide Folders
4 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
Find Orphaned Images
3 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.
Task Collector
4 months ago by ebullient
Manage tasks and logs within an Obsidian note.
Cornell Marginalia
4 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
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.
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.
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 18 themes included.
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Custom Sidebar Icons
2 years ago by RavenHogWarts
Custom Icons
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.
Prominent Bookmarked Files
5 years ago by Jeremy Valentine
Prominently display starred files in Obsidian.md
Modal Opener
2 years ago by Muuxi
Open files and links in modal windows, or create and edit compatible files in modal windows.
Telegram Sidebar
2 months ago by reallygood83
PhraseSync
a year ago by Digvijay S. Todiwal
An Obsidian plugin that auto-suggests internal links, with dropdowns, as you type, enhancing note interconnectivity.
Floating Headings
8 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.
Sidebar Keyboard Navigation
2 months ago by denvolok
Obsidian plugin to smoothly navigate File Explorer using keyboard only.
File Explorer Reload
5 months ago by mnaoumov
Obsidian Plugin that reloads the file explorer files list
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
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Window Collapse
5 years ago by Guilherme Quental
Frontmatter Alias Display
3 years ago by muhammadv-i
A plugin for Obsidian.md to show front-matter aliases as display names in the file menu.
File Preview
2 years ago by Huajin
Add file preview contents under file in file explorer.
External Link Opener
4 years ago by zorazrr
Obsidian plugin to open external links in modals or tabs
Mobile Sidebar Notes
2 months ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Zen Space
a year ago by Aditya Amatya
An enhanced file explorer showing relevant only relevant files for focused work.
Soomda
3 years ago by Michael Lee
🙈 Soomda — An Obsidian plugin that lets you quickly hide your sidebars.
Quick Peek Sidebar
a year ago by Bradley Wyatt
Open and close the Obsidian sidebars on hover.
Scratchpad
a year ago by KVH
An open source Obsidian plugin for quick note-taking and freehand drawing.
TikToker
6 months ago by ameyxd
A Tiktok parser and saver for Obsidian
Strip Internal Links
3 years ago by Adi Ron
A simple Obsidian plugin to strip internal links from files
Rainbow Folders Fixer
a year ago by Dee
Stop rainbow folders from changing colors as you scroll through the File Explorer in Obsidian.md
Simple Focus
2 years ago by Lin Qing
Allows you to focus on a specific file or folder. 让你可以专注于一个文件或文件夹
Mark Open Files
a year ago by Michael Schrauzer
Adds a marker to all the File Explorer items that are currently open in the Obsidian workspace.
Hide Index Files
a year ago by d7sd6u
Hides folder notes from the file explorer
WorkBuddy
a month ago by Jason
obsidian plugin for workbuddy
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.
Reveal Folded
a year ago by d7sd6u
Adds a command that reveals current file while collapsing every other tree item
Sidet
2 months ago by Jiao Yingxing
An easy-to-use AI chat plugin for Obsidian with side browsing, focused conversations, and vault-aware knowledge capture.
Scrolls To Nav Top
a year ago by mario
Simply scrolls to nav top
GTD Tasks
2 months ago by unpreditable
Excalink
a month 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.
URI Converter
2 years ago by wenlzhang
An Obsidian plugin to convert Obsidian URIs to Obsidian internal links.
Simple File Info
a year ago by Lukas Capkovic
WebDAV Explorer
6 months ago by 蓝星晓夜
WebDAV Server Explorer.
BrainCore LifeOS
17 days ago by 囍樂
BrainCore 侧边栏不仅是一个展示面板,更是你整个 Obsidian 知识库的“核心呼吸机”。它由 6 大模块组成,涵盖了时间感知、极速收集、工作流转、习惯养成与知识内化。一切信息从这里输入,最终也会在这里沉淀。
Discrete
a year ago by shkarlsson
ICOR for Life - PDF Annotation
24 days 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.
Spaces
16 days ago by Peter Jamrozinski
A lens for your Obsidian vault
Ctrl Click Links
2 months ago by Eiko Wagenknecht
Restore the link opening behavior in Obsidian.
Floating Quick Note
25 days 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.
Alternative Explorer
2 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.
Today Alias
2 months ago by tanoshia
Plugin for Obsidian md editor. This hides a date prefix of any file name (in browser and tabs).
Heading View
a month ago by 菅原ユリア
Simple Meeting Sidebar
a month ago by Wren
A macOS-only Obsidian plugin that reads Apple Calendar events into a sidebar and turns them into tasks or meeting notes.