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

[FR] Allow 1/1 + 1/2 + 2/2 combination #5

Open
jaklan opened this issue Apr 5, 2020 · 3 comments
Open

[FR] Allow 1/1 + 1/2 + 2/2 combination #5

jaklan opened this issue Apr 5, 2020 · 3 comments

Comments

@jaklan
Copy link

jaklan commented Apr 5, 2020

Hi, another issue from my side.

When I want to create panes in such a combination: 1/1 + 1/2 + 2/2, which graphically looks like:

|      pane 1     |
| pane 2 | pane 3 |

as a final result I get only 1/1 and 1/2 panes, so:

|      pane 1     |
|      pane 2     |

The last pane is just missing.

@jaklan jaklan changed the title [FR] Allow 1/1 + 2/1 + 2/2 combination [FR] Allow 1/1 + 1/2 + 2/2 combination Apr 5, 2020
@kamranahmedse
Copy link
Owner

I did want to add that in the initial release but opted out to keep it simple. However, it is in the plans for the future once I get some time (or someone decides to contribute :)).

What I had in mind was that the positions can be defined in three chunks

[column]/[row]/[column-in-row]

column-in-row would be 1 if not given. So a sample layout for that would be:

.-------------------.----------------.
| 1/1               | 2/1            |
|                   |                |
|                   |                |
|                   |                |
|---------.---------|                |
|         |         |                |
| 1/2/1   | 1/2/2   |                |
|         |         |                |
|         |         |                |
'---------'---------'----------------'

We will have to change the render_tab_panes to recursively render the panes

@martin-braun
Copy link

hey @kamranahmedse thanks for the great tool, it is really useful to work on enterprise solutions that consist of multiple projects that have to work together (like app, server, website, etc).

I'm working on a portrait window, so I need to be able to split some windows horizontally, I really need two terminal panes below my vim pane. Do you still plan on working on this?

Thanks in advance!

@akashagarwal7
Copy link

Super keen for this. I work extensively with docker and commands like docker ps fit better on a full-width pane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants