Window Spaces

approved

by Edward Hsieh

Save and restore window layouts for Obsidian popout windows. Seamlessly manage multi-window popout workspaces. - This plugin has not been manually reviewed by Obsidian staff.

โ˜… 1 starsโ†“ 81 downloadsUpdated 2d agoMIT

Window Spaces - Obsidian Plugin

Save and restore window layouts for Obsidian popout windows. Seamlessly manage multi-window workspaces with high performance and zero DOM jitter.


๐ŸŒ Language / ่ชž่จ€

English | ็น้ซ”ไธญๆ–‡ | ็ฎ€ไฝ“ไธญๆ–‡


๐Ÿ’ก Why Window Spaces? (vs. Native Workspaces)

Obsidian's built-in Workspaces plugin is designed for global application stateโ€”restoring a workspace overwrites your entire Obsidian setup (closing all open windows and replacing your main layout).

Window Spaces is purpose-built for individual popout windows:

  • ๐ŸŽฏ Zero Main Window Interference: Captures and restores layouts only within a target popout window without touching your main workspace or sidebars.
  • ๐Ÿ–ฅ๏ธ Multi-Monitor Friendly: Keep separate reference windows, Kanban boards, or research notes on secondary displays and swap their layouts independently.
  • ๐Ÿš€ Spawn New Windows on Demand: Click normally (or press Enter) to restore any saved layout into a brand-new popout window instantly.
  • ๐Ÿ”„ Per-Layout Auto-Save: Enable auto-save individually on specific layouts with 5s debounce protection and window-close instant snapshot.
Feature๐Ÿ›๏ธ Native Workspaces๐ŸชŸ Window Spaces
ScopeGlobal: Overwrites main window & all sidebarsWindow-Scoped: Affects only the target popout window
Multi-MonitorโŒ Destroys setups across all screensโœ… Manages individual screens independently
Spawn New WindowโŒ Always overwrites current layoutโœ… Click normally or press Enter to open in a new window
Auto-SaveโŒ Global manual save / hard overwriteโœ… Per-layout ๐Ÿ”„ auto-save with 5s debounce
Smart NamingโŒ Manual typing onlyโœ… Pinned-first smart name (Pinned Note & Active Note)
Hover PreviewโŒ No content previewโœ… File list tooltips on hover before restoring
Layout IntegrityโŒ Missing files cause tab collapsesโœ… Native empty tabs preserve pane shapes

โœจ Key Features

  • Popout Window Preservation: Captures splits, tabs, active file, view modes, and exact window dimensions/position.
  • Smart Layout Naming: Automatically generates intuitive names based on pinned files and active notes (Pinned Note & Active Note).
  • Context-Aware Restoration: Click normally (or press Enter) to spawn a new popout window; hold Shift (or press Shift + Enter) to restore directly into the current popout window. Restoring a Space that is already open in a popout window focuses that window instead of duplicating it.
  • Per-Layout Auto-Save: Toggle ๐Ÿ”„ auto-save on specific layouts with a 5-second debounced background update and immediate save on window close.
  • Unified Quick-Switch & Management Modal: Search layouts in real-time, view hover file tooltips, sort by 6 dimensions (gear menu โš™๏ธ), rename, edit, auto-save, or delete. Opens as a popup window (with the same toolbar in its title bar), an editor-tab panel, or a sidebar panel.
  • Safe Placement & Guardrails: Prevents off-screen windows on monitor changes and guards against accidental 0-file layout overwrites.

๐Ÿ–ผ๏ธ Screenshots

Multi-workspace popoutsPopout windowSidebar panel
Multi-workspace popoutsPopout windowSidebar panel

๐Ÿ“ฅ Installation

From Community Plugins

  1. Open Obsidian Settings > Community plugins.
  2. Search for Window Spaces.
  3. Click Install and then Enable.

Manual Installation

  1. Download main.js, styles.css, and manifest.json from the latest GitHub Release.
  2. Copy them to <your-vault>/.obsidian/plugins/window-spaces/.
  3. Reload Obsidian and enable Window Spaces in settings.

๐Ÿš€ Usage

1. Save Window Layout

  • Open the command palette (Ctrl/Cmd + P) in any popout window.
  • Run Window Spaces: Save current Space.
  • Enter a name or use the auto-generated smart name, then press Enter.

2. Open Window Layouts

  • Run Window Spaces: Open as popup window to open the picker in a popup, Open as tab panel to open it in a tab, or Open in left/right sidebar to dock it in a sidebar. The tab and sidebar commands open in the focused window: run them from a popout window to open the panel inside that popout, or from the main window to open it in the main workspace.
  • Select a layout from the unified restore and management dialog.
  • Click a layout normally, or press Enter, to restore it in a new popout window.
  • Hold Shift while clicking a layout, or press Shift + Enter, to restore it in the current active popout window.
  • If the Space is already open in a popout window, restoring it again focuses that window instead of creating a duplicate.
  • Access dropdown options (โˆจ) to toggle auto-save, rename, edit, or delete saved layouts, and use the panel menu to move the picker to another location.
  • See the Use Cases & Workflows section below for project, research, Canvas, Tasks, writing, meeting, and development workspace examples.

๐Ÿš€ Use Cases & Workflows

Think of each saved Space as a reusable work cabin for a project, research topic, work session, or recurring process:

  • Basic pattern: Pin a navigation view (Base, Canvas, or Tasks) on the left, keep the file you are working on to the right, and pin the nav view so clicking files never replaces it. Save the arrangement under a project or workflow name.
  • Project control center (Project โ€” Map & Workbench): Pinned Base map on the left, project home, specs and meeting notes to the right.
  • Research literature (Research โ€” Literature Review): Literature Base on the left, reading notes and open research questions to the right.
  • Canvas visual planning (Planning โ€” Canvas & Notes): Canvas holds the big picture on the left while specs and decision notes are edited on the right.
  • Tasks cycle management (Weekly Review โ€” Tasks & Notes, Daily Focus): Tasks query on the left, daily note and source documents to the right.
  • Writing & content (Writing โ€” Draft & References): Content Base on the left, draft in the center, references and checklists to the right.
  • Meetings & decisions (Meeting โ€” Agenda & Actions): Meeting Base and agenda on the left, running notes and follow-up Tasks to the right.
  • Software development (Dev โ€” Issue Triage, Dev โ€” Implementation, Dev โ€” Code Review, Dev โ€” Release): Issue Base on the left, specs and implementation notes to the right.

Once saved, a single click (or Enter) restores the whole cabin into a fresh popout window, or Shift + click (Shift + Enter) applies it to the current popout.

โŒจ๏ธ Keyboard Shortcuts

  • No default command shortcuts are assigned. You can assign optional shortcuts to Window Spaces: Open as popup window (or the tab/sidebar panel commands) in Obsidian's Hotkeys settings.
  • Within the layout list, Enter restores in a new popout and Shift + Enter restores in the current active popout.
  • Arrow-key navigation only engages while the panel itself is focused; keys typed into the command palette, a rename dialog, a dropdown menu, or another window are never intercepted.

๐Ÿ’ป Compatibility

  • Obsidian Version: v0.15.0+
  • Platform: Desktop only (Windows, macOS, Linux)

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.