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

Auto Reveal in Explorer

martinopolomartinopolo12 downloads

Auto-reveals the active file in the File Explorer without transferring keyboard focus.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

Obsidian plugin that automatically reveals the active file in the File Explorer sidebar when switching tabs or opening files — without transferring keyboard focus away from the editor.

Problem

The existing obsidian-reveal-active-file plugin uses Obsidian's built-in file-explorer:reveal-active-file command, which transfers focus to the File Explorer. This creates a race condition where pressing Delete immediately after switching files can accidentally delete the revealed file instead of editor content.

Solution

This plugin directly manipulates the File Explorer view's tree to reveal files without transferring focus, keeping the keyboard context safely in the editor.

Features

  • Auto-reveal active file in File Explorer on file switch
  • No keyboard focus transfer — editor stays focused
  • Configurable debounce delay
  • Manual reveal command
  • Works on both desktop and mobile

Installation

For Development

  1. Clone this repository
  2. Run npm install to install dependencies
  3. Run npm run build to build the plugin
  4. Symlink or copy the project folder to your Obsidian vault's plugins directory:
    # Example (adjust paths for your setup)
    ln -s /path/to/obsidian-plugin-auto-reveal-in-explorer /path/to/vault/.obsidian/plugins/auto-reveal-in-explorer
    
  5. Reload Obsidian and enable the plugin in Settings → Community Plugins

From Community Plugins

(Not yet published)

Development

# Install dependencies
npm install

# Build once
npm run build

# Build and watch for changes
npm run dev

After building, reload Obsidian (Ctrl/Cmd+R in desktop app) to test changes.

License

MIT

98%
HealthExcellent
ReviewPassed
About
Reveal the active file in the File Explorer when switching tabs or opening notes without moving keyboard focus away from the editor. Keep editor focus to prevent accidental file actions and use manual reveal or adjustable debounce timing; works on desktop and mobile.
SidebarFilesNavigation
Details
Current version
1.0.1
Last updated
4 days ago
Created
3 months ago
Updates
2 releases
Downloads
12
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
martinopolomartinopolo
github.com/MartinoPolo
GitHubmartinopolo
  1. Community
  2. Plugins
  3. Sidebar
  4. Auto Reveal in Explorer

Related plugins

Notebook Navigator

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

Recent Files

Display a list of recently opened files.

Reveal Active File Button

Add a button to the top of the File Explorer, to reveal the active file.

Flexplorer

Enhance the file explorer with custom sorting, pinning, and hiding.

Open Tab Settings

Adds options to customize how tabs are opened, including open in new tab by default, preventing duplicate tabs, and more.

Remember cursor position

Remember cursor and scroll position for each note.

TagFolder

Show tags as folder.

Custom File Explorer sorting

Manual or automatic config-driven reordering and sorting of files and folders in File Explorer.

Novel word count

Display a word count, page count, creation date, or other statistics for each file, folder and vault in the File Explorer pane.

Home tab

A browser-like search tab for your local files.