Keyboard shortcut maximize/minimize panes (not zooming)

Hi all

I am aware that there is ctrl[cmd]+ shift+ [1,2,3,4,..] for zooming panes, but i need a different kind of behaviour. I usually work with two panes side by side (code, console) and sometimes need to have a quick look at files or history but NOT ZOOMING IT, just getting it out of the minimized state that I defined at start.
That behaviour is achieved using the squared buttons i show here:

is that possible?