vim: having tabs in a single viewport

0

I would like to have two viewports, one with Nerdtree and the other with tabs of the files I'm editing. Is this possible? Whenever I try to split and then opening tabs I get one tab with 2 viewports and one tab with only one.

red_trumpet

Posted 2014-11-16T10:29:03.080

Reputation: 103

Answers

3

Tab pages contain windows which contain buffers. You can't have a tab page inside a window.

Maybe there is a plugin that sort of does what you want but I'd recommend not taking that path and, instead, learn to use buffers, windows and tab pages as they are meant to be used.

Vim is vastly smarter and more powerful than whatever you used before switching. Trying to adapt it to your old habits is quite possibly the worst strategy you could come up with.

Related answers here and here.

romainl

Posted 2014-11-16T10:29:03.080

Reputation: 19 227

This. Once you get used to buffers, you end up almost never using tabs. – evilsoup – 2014-11-16T18:35:17.223