Layout config discussion #1420
Labels
discussion
Conversation to figure out actionable steps. Most feature ideas start here.
layout
issues related to the layout system
The current layout system is a bit limited because it assumes hierarchical splits, whereas zellij layouts can be more flexible. This makes dumping an opened layout to file impossible in the general case.
Here we can discuss on how to improve this.
My suggestion would be to specify layouts in a little ascii art drawing, like this:
Screenshot of the layout
Split sizes are inferred from the drawing by default, but can also specified by some width / height parameters.
Example:
The following layouts should be identical:
Reasons for not deriving the sizes from the drawings alone:
(in the case of split fractions which can't be reduced, like 7/99 lines or columns, which gets more likely at small pane sizes)
Advantages:
Drawbacks:
The text was updated successfully, but these errors were encountered: