This plugin allows users to programmatically adjust the widths of the left and right sidebars in Obsidian. Users can increase, decrease, toggle, and evenly distribute sidebar widths using commands. The widths can be specified in pixels (px) or percentages (%).
YourVault/.obsidian/plugins/sidebar-resizer).The following commands are available for adjusting sidebar widths:
There are no hotkeys bound by default. The commands above can be bound to keys following your preferences through the normal Obsidian settings. Following are some examples or recommendations:
| Command | Keybinding |
|---|---|
| Increase left sidebar width | Ctrl+[ |
| Decrease left sidebar width | Ctrl+Alt+[ |
| Toggle left sidebar (standard width) | Ctrl+Shift+[ |
| Increase right sidebar width | Ctrl+] |
| Decrease right sidebar width | Ctrl+Alt+] |
| Toggle right sidebar (standard width) | Ctrl+Shift+] |
| Expand both sidebars to standard widths | Ctrl+Alt+Shift+] |
| Collapse both sidebars | Ctrl+Alt+Shift+[ |
You can adjust the following settings in the plugin settings tab:
This plugin is released under the MIT License.