I am using Sublime Text 3. I have a layout with a screen height column on the left and three panels on the right (see image below). This setting is great (especially with the Golden Ratio plugin), but I still miss the one function I had in vim. I had a hotkey, due to which the panel focused on the entire window, for example, in full screen mode for a single file. When done, you can enter the hotkey again to return to the previous layout. It is as if the original layout of the panels is saved, and the focused panel temporarily takes over the entire window, and when you finish editing the full-screen file, the program remembers how things were laid out and returned to this. Here is an example of ASCII-art:
BEFORE AFTER ---------------------------- ---------------------------- | | | | | | | | | | | |-------------| | | | | | | | | | | | | | |-------------| | | | | | | | | | | | | ---------------------------- ----------------------------
By typing a hot key, you switch from BEFORE to AFTER ; entering the same hotkey will return you to BEFORE again, with the same layout and the same tabs in each panel.
Is there a way to do this in Sublime Text 3, including a plugin that can enable this? If the reader knows how to write Sublime plugins, how much do you think that such a plugin will be written? I would suggest that it will not be so bad: the question of where the place is, and the Sublime program message to return to this when switching from full-screen mode.
source share