Replies: 1 comment 2 replies
-
Hey, cool use case! I definitely want Zellij to make it as easy as possible. Right now, you can kind of do this by opening the project layouts as new tabs with the I want to make it possible to open a new layout from within Zellij regardless of how many tabs it has. Essentially for Another option is to use the Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
I have an idea for a feature, but I'm not 100% sure if this is already possible somehow or if it's even the right approach to my problem / use case.
What I would like to do is merge user-layouts and project-layouts. For example, I have my own user-layout in
~/.config/zellij/layouts/ide.kdl
where the main thing right now is a tab that opens helix automatically. Other people may like to use vim instead, or maybe I want to have a second tab with btop open in the future... you get the point, these are personal preferences.Now the other thing I love to use zellij for is project-layouts. For example, I may have a layout in a git repository under
dev/zellij.kdl
with tabs / panes to run frontend & backend, render documentation and so on. This is very project specific. (Then I usually have a convenientjust
recipe to start zellij with that layout.)Now, I would like to combine these two in some way. High-level: "Please start zellij, with this base layout and load these additional tabs".
The base layout should be the user layout and be as powerful as normal zellij layouts. (ui settings, keybinds etc. supported). The project specific additional tabs don't necessarily need to be that powerful, it can just be loading a number of additional tabs with panes and commands in them to run. I'm saying this because I think it could be difficult to define how ui settings and keybinds from two layouts are correctly merged.
I'm wondering what other people think about this? Is it already possible and I don't know how? Is this a valid use case for zellij to try to support? Is there a better approach to achieve my goal?
Beta Was this translation helpful? Give feedback.
All reactions