-
Hello folks what a great tool you have created here. Thank you for that great piece of software. Maybe I've missed it in the docs or I don't understand the way how it is supposed to work. How do I create a new sibling beside the existing one? Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
Are you asking "how to create a new pane?" I don't fully know where you're coming from (OS, shell, terminal emulator and your personal experience), so I'll try to answer 'the long way' assuming nothing - and maintaining a vocabulary. I hope it will be helpful, but apologize if not. The way I understand it, a session is "everything on the current terminal connection". My terminal emulator is either Alacritty on Pop!_OS or Windows Terminal on Windows 11. As an example, let's take the Linux route, after which I'll be in a Zellij session, which has opened a layout containing among other a pane that runs If I SSH into the machine (let's say from Windows), depending on how I configured this, I can either open a new session, or connect to that same session. A new session will have its own set layouts and panes, which the same session will show the same content on two connections. From within a session, I might want to open a new pane ( |
Beta Was this translation helpful? Give feedback.
-
Sorry, I should have been more clear what I want to achieve. I have multiple work environments and I do want to manage them using separate sessions. Similar like the tmux-sessionizer achieving this under tmux. The final goal would be a floating pane, where I can easily create new sessions or switch between existing ones. For work I still use my tmux setup, but I am currently experimenting using a zellij playground. I do also start up zellij when my bash starts. However, once I am in my zellij session, I can't figure out how to start up a new session beside the current, it will always get nested. I guess this PR point to the direction I want. |
Beta Was this translation helpful? Give feedback.
-
zellij-runner is a tool that you could ask your terminal to invoke whenever it creates a new window or tab. Then you get to choose your session, or create if it doesn't exist. That's what I'm doing and it works well. |
Beta Was this translation helpful? Give feedback.
-
Hey! You can check this zellij sessionizer solution demestoss/zellij-smart-sessionizer. I have started working on it after I faced the same issue as you It doesn't have functionality for switching sessions inside Zellij itself and currently works with Zoxide setup only, but it could be pretty handy in your use case You can start sessions from the shell the same way and choose the session using fzf. After that, you can choose the preferred layout for the session If you run it inside Zellij, it will create a new tab instead of a new session I'm working on improving it now and I plan to rewrite it and integrate it as a Zellij plugin, so I want it to have the same basic functionality as tmux-sessionizer and even more |
Beta Was this translation helpful? Give feedback.
-
Zellij now has this functionality out of the box. There is no need to hack it yourself through the CLI API or anything like that. Check out the |
Beta Was this translation helpful? Give feedback.
Zellij now has this functionality out of the box. There is no need to hack it yourself through the CLI API or anything like that.
Check out the
session-manager
built-in plugin. You can launch it withCtrl o
+w
.