title: Toggle between layouts in Sublime Text 3
body: <p>I'm using Sublime Text 3.   I have a layout with a screen-height column on the left and three panes on the right (see figure below).  This setup is great (especially with the Golden Ratio plugin), but I still miss one feature I had in vim.  I had a hotkey that caused the pane that had focus to take up the entire window, like entering full-screen mode for that one file.  When done, you could enter the hotkey again to revert to your previous layout.  It's as if the original layout of the panes is saved, and the focused pane temporarily takes over the whole window, and when you're done editing the file full-screen, the program remembers how things were laid out and reverts to that.  Here's an ASCII-art example:</p>
  
  <pre><code>          BEFORE                                 AFTER
  ----------------------------          ----------------------------
  |            |             |          |                          |
  |            |             |          |                          |
  |            |-------------|          |                          |
  |            |             |          |                          |
  |            |             |          |                          |
  |            |-------------|          |                          |
  |            |             |          |                          |
  |            |             |          |                          |
  ----------------------------          ----------------------------
  </code></pre>
  
  <p>By typing a hotkey, you switch from <code>BEFORE</code> to <code>AFTER</code>; typing the same hotkey again reverts you to <code>BEFORE</code>, with the same layout and the same tabs in each pane.</p>
  
  <p>Is there a way to do this in Sublime Text 3, including a plugin that might enable this?  If the reader knows how to write Sublime plugins, how hard do you imagine writing such a plugin would be?  I would guess it wouldn't be too bad: a matter of stashing state somewhere and programatically telling Sublime to revert to that when switching back from full-screen mode.</p>