itomate icon indicating copy to clipboard operation
itomate copied to clipboard

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

Open jaklan opened this issue 5 years ago • 3 comments

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 avatar Apr 05 '20 02:04 jaklan

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

kamranahmedse avatar May 04 '20 09:05 kamranahmedse

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!

martin-braun avatar Dec 22 '22 21:12 martin-braun

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

akashagarwal7 avatar Sep 26 '23 23:09 akashagarwal7