Temporarily fold split-screen sections

Use case or problem

Working on a widescreen monitor I usually use Obsidian in split-screen mode with two documents side-by-side. However, quite often I want to use a browser on one side of the screen and obsidian on the other. Now the split-screen windows of obsidian get too narrow.
I don’t want to completely close the split and reopen all tabs on that side when returning to working with obsidian in full-screen.

Proposed solution

Just like with the file-view or other sidebar, a button to temporarily minimize/restore the split-view (retaining the open tabs inside) would be great.
Automatically collapsing the sidebars when reducing window-size below a certain threshold could be nice, but which split to keep should still be manual as it varies.

Current workaround (optional)

Currently I manually collapse sidebars (OK) and drag the split either direction to make up room (a bit unsightly).

Alternatively I played around with the “Manage Workspace Layout” funtion, but it also rembers open tabs so I have to save the split-layout, close the split-tabs and then reload which is more trouble than just dragging the split-line.

Related feature requests (optional)

Haven’t found any plugins or related features.

3 Likes

I’m not super familiar with it as I don’t use it myself, but a quick read shows this plugin may help:

Can be found in the community plugins here.

Another suggestion, could be possibly for now, not to negate your feature request, use the toggle sidebars hotkeys found in Options > Hotkeys.

1 Like

This would be a helpful feature.

As a workaround, I think the Maximise Active Pane plugin does what you want (or did; it hasn’t been updated in 5 years so I don’t know if it still works). EDIT: Looks broken, judging by its GitHub issues page. Issues · deathau/maximise-active-pane-obsidian. I’ve reported it to the Obsidian team for possible removal.

ProZen and Fullscreen Focus Mode might do (something like) what you want, but I think they might do actual fullscreen instead of just maximizing a tab within Obsidian.

Thanks for the suggestions! Apparently used the wrong search term.
Active pane looks like it does exactly what I want but as steted seems to be broken. I tried pane relief quite successfully. With Commander I created a macro that does:

  • toggle left sidebar
  • toggle right sidebar
  • pane relief: max. active tab (toggle)

Apart from the tab bar that vanishes at the top (because its maximized) it does exactly what I want it to do. Sidebars have to be visible of course because of the toggle and there is no automation (Is it possible to create snippets that are aware of Obsidians window-size?) but other than that, so much better to click a single Button :slight_smile:

1 Like

Glad you found a workaround!

It might be. Someone in Custom CSS & Theme Design (or the #appearance channel on Discord) may know (or you can check the list of CSS units on Mozilla Developer Network: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Values_and_Units#data_types#:~:text=UNIT%20CATEGORIZATIONS).