Perhaps you could write a script using mkview and loadview if you want to keep all this in one tab, however this is what was done for vim tabs. I suggest using the following mapping to display \0 to open the current buffer in a new tab. To close a tab, simply :q , as you would normally do, and return to the previous tab containing the desired window layout.
:nnoremap <leader>0 :tabedit %<cr>
Note that this mapping uses <leader> , so if you changed your clider, then the sequence would not be \0 .
source share