Similar question was asked almost 9 years ago, in the (almost) forgotten age of TrollTech.

In essence I have editor window where I type stuff and several open views (sidebar, mode, output panes etc). I want to press some key combination and get into full screen mode where only editor is visible. Then press the same combination again and previous window setup is restored.

Perhaps solution was found and I missed it?

Thanks.