Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]: Group windows inside a single tab? #548

Closed
ls-devs opened this issue Jan 24, 2024 · 2 comments
Closed

[QUESTION]: Group windows inside a single tab? #548

ls-devs opened this issue Jan 24, 2024 · 2 comments
Assignees
Labels
question Further information from project maintainers was requested.

Comments

@ls-devs
Copy link

ls-devs commented Jan 24, 2024

Hi,
I was wondering if it is possible to have two windows inside a single tab ?

Let's say I have tab1 with two windows split vertically or horizontally and I have another tab, tab2 with only one window and I switch back to tab1 it retores the two splitted windows ?

@romgrk
Copy link
Owner

romgrk commented Jan 24, 2024

I think there is some confusion between what barbar calls a "tab", which is equivalent to a listed vim buffer, and what vim calls a "tabpage", which is a window layout. Barbar doesn't use tabpages, it shows one tab for each buffer. You can also use tabpages.

@Iron-E Iron-E added the question Further information from project maintainers was requested. label Jan 25, 2024
@Iron-E
Copy link
Collaborator

Iron-E commented Jan 25, 2024

As above, see :h windows-intro. Here is a brief summary:

A buffer is the in-memory text of a file.
A window is a viewport on a buffer.
A tab page is a collection of windows.

@Iron-E Iron-E closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
@romgrk romgrk removed their assignment Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information from project maintainers was requested.
Projects
None yet
Development

No branches or pull requests

3 participants