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

Same Window Vault Switcher

Jonas FlintJonas Flint36 downloads

Switch vaults in the current window instead of opening a new one.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Switch vaults in the current window instead of opening a new one.

By default, Obsidian's vault switcher opens every vault in a new window and leaves the old one behind. With this plugin, the vault you pick takes the place of the one you're in.

Desktop only. Tested on Obsidian 1.15.

How to use

Switch vaults the way you normally do:

  • Click the vault name in the bottom-left of the sidebar and pick a vault.
  • Run Open another vault from the command palette.
  • Or run this plugin's command, Switch vault in this window.

The plugin needs to be installed and enabled in every vault you switch from. Settings are saved per vault, like any other plugin's. Once a window has been swapped, the plugin always uses the swap path from that window, whichever mode the current vault has selected, so mixed settings never leave you without a window.

Modes

Choose a mode in Settings → Same Window Vault Switcher.

Seamless handoff (default, recommended)

Obsidian opens the vault as usual. Before the new window appears, the plugin moves it to exactly where your current window is, with the same size and maximized state, and then closes the old window. To you, it looks like the vault was swapped in place. Obsidian's own bookkeeping stays fully consistent.

The only visible difference from a true in-place swap: in macOS full screen, the switch plays the Spaces animation.

In-place swap (experimental)

The same window reloads straight into the other vault. To do this, the plugin installs a small hook in Obsidian's main process that changes which vault this window is told it belongs to.

Obsidian's internal records still link the original vault to that window, so there are some side effects:

  • obsidian:// links and CLI commands that target the original vault are sent to this window.
  • Opening the swapped-in vault from outside the plugin (a link, or the Manage vaults window) can open it a second time in a new window.
  • The window's size and position are saved under the original vault.

The hook only lasts until Obsidian quits. Closing the window or quitting the app resets everything. If a future Obsidian update changes the internals this mode relies on, the plugin falls back to seamless handoff and shows a notice.

Disclosures

To follow Obsidian's developer policies, this plugin discloses the following:

  • Files outside your vault. In-place swap mode updates Obsidian's vault registry (obsidian.json in Obsidian's app data folder) so that the right vaults reopen when you next launch Obsidian. It only changes the "open" flag and last-opened time of each vault. If you set a Debug log file, the plugin also writes diagnostic messages to that path.
  • Undocumented Obsidian internals. The plugin uses Electron APIs and parts of Obsidian that aren't part of the public plugin API: the vault, vault-list and vault-open IPC channels, the startup snapshot channels, and @electron/remote. A future Obsidian version could break it.
  • No network use and no telemetry. The plugin doesn't connect to the internet or collect any data.

Installation

From Obsidian: Settings → Community plugins → Browse, search for "Same Window Vault Switcher", then install and enable it.

To install it manually, download main.js and manifest.json from the latest release, copy them into <vault>/.obsidian/plugins/same-window-vault-switcher/, then reload Obsidian and enable the plugin.

Development

npm install
npm run dev      # watch build
npm run build    # production build
npm run lint     # Obsidian's official lint rules (same as the community directory scan)

To release a new version, run npm version patch --no-git-tag-version (or minor or major), commit the changed package.json, manifest.json and versions.json, and push to main. The GitHub Action notices the new version in manifest.json, builds the plugin, attests the build, and creates a release with a matching tag and main.js and manifest.json attached.

License

MIT © Jonas Flint

HealthExcellent
ReviewSatisfactory
About
Switch vaults in the current window instead of opening a new one. Choose seamless handoff to move the new vault into your current window and close the old one, or pick an experimental in-place swap that reloads the window but may cause link/CLI side effects.
WorkspacesNavigation
Details
Current version
1.0.2
Last updated
4 days ago
Created
4 days ago
Updates
3 releases
Downloads
36
Compatible with
Obsidian 1.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Jonas FlintJonas Flintjive
GitHubjonasflint
  1. Community
  2. Plugins
  3. Workspaces
  4. Same Window Vault Switcher

Related plugins

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

Vertical Tabs

Offer an alternative view that displays open tabs vertically, allowing users to group and organize tabs for a better navigation experience.

Open Tab Settings

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

Notebook Navigator

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

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Note Toolbar

Add customizable toolbars to your notes.

Quick Explorer

Perform file explorer operations (and see your current file path) from the title bar, using the mouse or keyboard.

Footnote Shortcut

Makes creating footnotes more fun!

Vault Todos

Collect all outstanding TODOs from your vault and presents them in lists Today, Scheduled, Inbox and Someday/Maybe.