Skip to content

NomarCub/obsidian-hide-sidebars-on-window-resize

 
 

Repository files navigation

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

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.

About

A simple Obsidian plugin to hide the sidebars when the window gets narrow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 72.3%
  • JavaScript 27.7%