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

No Empty Windows

popscallionpopscallion4k downloads

Close the window with cmd+W on macOS when the last tab is closed.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

This plugin provides an alternative to the "Close current tab" command in Obsidian ("workspace:close") for users who prefer more browser-like behavior where closing the last open tab closes the window but leaves the app running in the background for quicker relaunch.

"Close current tab or empty window" closes the currently focused tab unless it is pinned, in which case it either unpins the tab or closes it directly (toggleable via plugin settings). If tabs are open in multiple tab groups/popouts, the plugin will cycle through all open tabs until only one remains in the main window.

Usage

To use this command, either invoke it from the Command Palette or map it to the Close current tab hotkey (cmd+W on MacOS by default).

Installing

Look for this plugin under Community Plugins in the Obsidian settings, or unzip into [vault]/.obsidian/plugins/.

65%
HealthFair
ReviewSatisfactory
About
Close the focused tab or, when it's the last open tab, close the window while keeping the app running in the background for quicker relaunch. Respect pinned tabs by unpinning or closing them (toggleable) and cycle through tab groups and popouts until only one tab remains in the main window.
WorkspacesCommandsHotkeys
Details
Current version
1.1.0
Last updated
3 years ago
Created
3 years ago
Updates
2 releases
Downloads
4k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
popscallionpopscallion
github.com/popscallion/
GitHubpopscallion
  1. Community
  2. Plugins
  3. Workspaces
  4. No Empty Windows

Related plugins

Open vault in VS Code

Ribbon button and command to open vault as a Visual Studio Code (VSCode) workspace.

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.

Leader Hotkeys

Add leader hotkey support to any command (like tmux or vim).

Code Editor Shortcuts

Add keyboard shortcuts (hotkeys) commonly found in code editors such as Visual Studio Code (VS Code) or Sublime Text.

Doubleshift

Open the command palette by pressing Shift (or any other key) twice like in IntelliJ and create your own shortcuts.

Tab Switcher

Switch your tabs with Ctrl + Tab in recently used order like in a browser.

Hotkey Helper

Easily see and access any plugin's settings or hotkey assignments (and conflicts) from the Community Plugins tab.

Collapse All

Extend collapse/expand all with commands that can be bound to hotkeys.

Keyshots

Add classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.

Homepage

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