Hide Sidebars on Window Resize

approved

by NomarCub, Michael Hanson

Forked from mybuddymichael/obsidian-hide-sidebars-when-narrow

Automatically hides the sidebars when your window is narrow on window resize.

29 stars18,950 downloadsUpdated 3mo agoMIT
View on GitHub

Hide Sidebars on Window Resize

This is a plugin for Obsidian. It automatically hides the sidebars when the window gets too narrow and shows them when it gets wide again.

You can change the minimum width for both the left and right sidebar.

Related plugins

  • Sidebar Toggler
    • Finer control of the Obsidian sidebars. To be used with an external window manager.

  • Auto Hide
    • This plugin enables you to collapse (and expand) the sidebar easier.

  • Min Width
    • sets the minimum width for the active pane

Installation

You can install the plugin via the Community Plugins tab within the Obsidian app.
Here's the plugin in Obsidian's Community Plugins website.
You can install the plugin manually by copying a release to your .obsidian/plugins/obsidian-hide-sidebars-when-narrow folder.

Development

This plugin follows the structure of the Obsidian Sample Plugin, see further details there.
Contributions are welcome.

Credits

This is a fork of a currently unmaintained repo by Michael Hanson that you can find here.
As a start, it merges this pull request which addresses this issue.

Ignore limit based on direction, and current maintenance by @NomarCub.

"Sidebars remain hidden option" by @extracat
Zen Mode plugin fix by @HerrChaos

If you like this plugin you can sponsor me here on GitHub: Sponsor NomarCub, on Ko-fi here: Buy Me a Coffee at ko-fi.com, or on PayPal here: Paypal.

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.