Search code examples
macosvimvi

Vim: How to switch back from tabview to vertical split


I can use Ctrl+W T to switch form vertical split to tabview.

My question is what can I use to switch back to vertical split / horizontal split for all tabs?


Solution

  • I suppose that means to close all tabs except the previous one, and then reopen all windows on that tab.

    nnoremap <silent><C-W>U :hide -tabonly <bar> unhide<CR>