I have the following structure of a tab in Vim.
x marks the cursor position. (Note that I don't have control over how these windows are placed in the tab in the first place. It is the default debug output in Vimspector for those interested. There seems to be no easy way to customize the user interface of Vimspector.)
________________________________ a | d |e | ___| | | b | | | ___| x | | c |__________________|_________| ___|____________f_______________|
I would eventually like to obtain
________________________________ b | d | ___| x | c | | ___|____________________________| | ________________e_______________|
To do this, I started with
:windo wincmd K<CR> based on suggestion here.
That gave rise to all windows being horizontally placed thus:
________________________________ ______________f_____x___________| ______________e_________________| ______________d_________________| ______________c_________________| ______________b_________________| ______________a_________________|
<C-W>c closed window
f. But beyond this, I am stumped. I have looked at
<C-W>K, but am unable to figure out the exact steps and sequence in which the output tab can be obtained in the format specified above. Any help is appreciated.