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

Making configurations of layouts easier #3928

Open
DrBuhu opened this issue Jan 11, 2025 · 1 comment
Open

Making configurations of layouts easier #3928

DrBuhu opened this issue Jan 11, 2025 · 1 comment

Comments

@DrBuhu
Copy link

DrBuhu commented Jan 11, 2025

When configuring zellij for the first time, it was also my first time coding with kdl.
I had a lot of trouble.

Special characters were not detected when inside the variable name, like so:
tab name="lazgit" cwd="/etc/nixos"{
But then again the equal sign must be written without any space, before it.

And some options needed to be defined in the header, instead of the body.
Then the tab-bar was also disabled by default, which I didnt know that thismust be done at first.
It took quite a bit of time to figure out all of these issues and was overall a bit of a frustrating experience.

Doing simple configs, like configuring Key Value Pairs, KDL is in my opinion a bit excessive for this purpose and not that beginner/user-friendly and also a lot slower to write.

It'd be nice to have some alternatives to configure the layout.

My suggestions would be to have an option to configure it in a json like format.


At the time of writing this I've also discovered that zellij does actually have commands to open panes/tabs like tmux e.g
zellij action new-pane

I think using these commands in my shell's startup configuration or for a command alias is a lot more suitable for my simple purposes.

It'd be nice to include a note and maybe some examples in the documentation:
https://zellij.dev/documentation/

@DrBuhu
Copy link
Author

DrBuhu commented Jan 11, 2025

I think this is more suited as a discussion so I opened one instead, I'd remove the issue if I could.
#3929

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

No branches or pull requests

1 participant