Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim: How to switch back from tabview to vertical split

Tags:

vim

vi

macos

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?

like image 925
sramij Avatar asked Nov 25 '25 13:11

sramij


1 Answers

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>
like image 85
Matt Avatar answered Nov 27 '25 06:11

Matt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!