In nvim, the concept of Tabs is different between the vs code and web. In nvim, a tab is more like a layout, it can contains many windows.
the Buffer-line in Nvim
the tabs above in nvim, like Lazynvim, usually are "Buffer-lines", actually buffers.
- Buffer: a file you open.
- windows: a split zone in the screen.
- tab: a collection of windows
the shortcut in nvim
- switch the buffers:
L(next)/H(prev) the capital - delete the buffers: leader bd
- delete all buffers expert the current one:
leader bo - create a new tab:
leader bb