Is Zellij the PERFECT Multiplexer? // Tmux Getting Dethroned!
HTML-код
- Опубликовано: 1 июн 2024
- Zellij seems to gradually take Tmux's place when it comes to terminal multiplexing. It is self explanatory, feature-full, well documented and has a few killer features that are very appealing!
I'm covering here the basics and the pros and cons as I see them and how whether I'm seeming myself transitioning into it over Tmux.
LINKS AND TOOLS MENTIONED
▶ An interview of Aram the author by Charm: • Zellij Part 2 | 10x Te...
▶ github.com/rupa/z
▶ github.com/voldikss/vim-floaterm
▶ github.com/folke/noice.nvim
▶ github.com/ranger/ranger
▶ github.com/tmux-plugins/tmux-...
▶ github.com/zellij-org/zellij/...
MY FAVOURITE GEAR
* If you enjoy my content, using the links below will help me with a small commission, so thank you!
⌨️ My keyboard is the wonderful HHKB: amzn.to/3HwJG60
🔗 The HHKB is wired with a high quality coiled cable: amzn.to/3DCA87d
⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: amzn.to/3R3M7jz
🖥️ My ultra wide 49" monitor: amzn.to/3JbVThC
🎙️ Microphone - Shure MV7X: amzn.to/3kA7tZZ
🦾 Boom Arm - amzn.to/3ZmQgln
🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: amzn.to/3Z3fBkQ
🦾 Heavy Duty Monitor Arm: amzn.to/3kKp7tS
🖱️ Mouse - MX Master 3: amzn.to/3DiZmaj
📷 Camera - ZVE10: amzn.to/3I1jfVS
🎥 Lens - Sigma 1.4 16mm: amzn.to/3BfFN15
CONSIDER SUPPORTING THIS CHANNEL
☕ Buy me a coffee: www.buymeacoffee.com/omerxx
🎷 60 day free Epidemic Music!: share.epidemicsound.com/w6zfxo
MY KEY LINKS
🍿 Subscribe: www.youtube.com/@devopstoolbo...
🌍 My website: omerxx.com
🗞️ Dev & Ops tools Telegram channel: t.me/espressops
🎙️ DevOps Topeaks Podcast: topeaks.buzzsprout.com
⏱ Timestamps
00:00 - Intro
00:53 - Getting started and Panes Mode
03:08 - Tabs
04:35 - Resize
05:14 - Session
05:28 - Killer Features
10:22 - Final thoughts
#devops #ops #cicd #flyio #productivity #dev #terminal #tmux #system #sysadmin #cloud #cli #ops #ricing #linux #macos #commandline #typing #keyboard #tutorial #beginner - Наука
Zellij now has the "resurrect" feature built in!
I love Zellij but I ended up using Kitty's built-in multiplexer because I can bind it to controls with the SUPER key. I don't like having to remap a CTRL+(something) or ALT+(something) in every single terminal app just to avoid conflicting with Zellij's controls. I wish they could add support for more modifiers or combinations of modifiers so that I could go back to using it - it ruled.
Definitely! I did make *a lot* of changes to my config to suit my workflow. The video is already in the making 😉
How do you use the multiplexing system in kitty to emulate sessions like tmux and zellij? Use tabs as sessions? The lack of something like sessions is what I'm missing for me to say that Kitty is a perfect terminal emulator. Sessions is a concept of multiplexers, so I understand that kitty being a terminal doesn't need to support that
@@emersonbarros6815 true. Not a big kitty user so can’t say but this is missing from Zellij in some way, the concept exists but switching is a little bit of a pain
While I agree he did give us the Lock which would let you use all those ctrl keys (Other than ctrl+g) anyway you want once you lock it.
same, every now and then I try one of these multiplexers and cant see any advantage over kitty
The production quality of this video is next level
Thank you!!
Awesome video, i like how you show off the software within your own workflow. That makes it much more informative as it puts the features into perspective
Thanks for the feedback!! This does reenforce something I had in mind and you and I are probably sharing the same view, I hope others too!
Nice review! I saw this tool few times out there, but not quite sure to use it. But now just by looking at this video I feel that I love it! I will give it try ~ thx
Let me know how it went !
Thank you, Omer, for making this video. This video will serve as a great starting point for someone trying Zellij for the first time.
Awesome! Thank you!
I'm very happy to say that both of the "killer features" are doable in tmux.
- Popups
$ tmux popup
- Neovim copy mode
$ tmux capture-pane -p -S | nvim -c 'set buftype=nofile' -c 'set nonumber' -c 'set local norelativenumber' + '$'
As a keybind you have to send to the current terminal
bind-key C-f send-keys "$command" Enter
Incredible! I can’t believe I didn’t know about it earlier. I’m going to give this a try!
The nvim dump is really cool and elegant, it’s just something I wish was native, but this works!
Happy I made the video just to get this comment 😉
@@devopstoolbox Hey, glad i could help! Wouldn't of stumbled on this either since i have never even thought this was possible!
Great ARAM for thinking this up in the first place!
@@devopstoolbox I am currently trying to get neovim and the terminal text aligned when "popping" in and out.
Also would be nice to have the same highlighting as in the terminal. But i assume the only option is custom Treesitter file?
Would be nice to have them exactly the same in both.
There are some downsides of tmux popup: it stops refreshing other panes, you can have only one popup, you can hide / show it, you can not resize it, you can not switch back and forth.
Nice Dev. Thanks for introducing a sweet new application. I could never get into tmux cause I kept forgetting the key actions to do things. Just my fault for not spending a lot of time in it. But this Zellij looks great. I'll check it out during my weekend!
Yes!! Let me know how it went
Me too lol. Just discovered zellij, can't wait to get started with it
Super helpful and excited to discover your content through this vid.
Thank you ❤️
Man I love your chanel, the content is top notch but I'm still a noob to even start to grasp most of it 😂... Hope you release some beginner tutorials at some point. Anyways, keep it up, big fan!
Damn! What a nice thing to read first thing in the morning 🤩
To your question - feel free to always ask questions and make suggestions! There are a few videos I make solely based on viewers request so I’m open to anything!
Thanks again mate! Much appreciated
woww😍😍 Just gave it a shot and I really liked it.
Nice! Please come back with feedback, I wonder if others share the same excitement 😉
@@devopstoolbox I've kinda switched to it from Tmux. As it doesn't have any session switcher which is a bummer, but someone made a script to do almost like a session switcher via fzf (anyone wondering, can find the script in the issues), which saves the day. And I am enjoying this one so far.
@@fahimanayet oh sweet!!! I have to test it
i use wezterm in macos. How do I get the ALT key working for the shortcuts?
Hi! What shortcuts specifically?
@@devopstoolbox when navigating panes, there's a shortcut for ALT+hjkl. It seems like any keybind that uses ALT doesn't work
@@jzmmm you’re right! I’m using alt as a global hot key for other things though. Thanks!
aah, this looks good but i'm too comfortable with tmux now but will give it a try :)
Same here mate, same here. I think it’s worth a shot, the two killer features and really playing a key role in my daily workflow for the past couple of weeks.
Is it possible to hide the command bar in zellij ?
Still looking myself. Testing a new alpha layout I’ll share if I find a convenient way to do it
Yes there is literally just read the manual
I’d prefer Zellij to TMUX but I find the UI a bit too much - I’d love a much simpler theme
Checkout my last video from yesterday where I’ve configured it to use the simplified UI and removed some unused items!
Really u know i freakin love zellij now
😅
i love this and only 1 minute into the video
🙏🏽
It is my hope that instead of causing the demise of tmux, that it will cause a friendly competition between the developers in both communities, for inspiring the improvement of both apps.
Well said!!
Awesome
I gave Zellij a solid try (and I may return to it in the future), but Tmux (coupled with Tmuxinator's configs) makes Tmux so seamless with Neovim. Great video though, subbed.
Thanks mate! I have to agree to be honest. But for users who are new to the terminal or don’t have the skills / energy to make Tmux tweaked to their liking Zellij is an excellent option
mann people has so much time to explore new tools, for me vim and tmux has done a good job then tha's it wkwkwk
Looks promising~ I am about to spend my time with Vimux, to make myself more comfortable with nvim and tmux~ Btw, tmux also have the floating window~
And it took a lot of screen space, can it be hidden?
Hey! Not aware of tmux offering the same but happy to learn. Can you refer me?
About the space taken, you can either resize or better yet - hide and show back again when you need it! That’s why I Iike it so much
@@devopstoolbox github.com/LintaoAmons/CoolStuffes/blob/main/tmux/.tmux.conf#L128
what terminal you are using?
Depends. Used to run Alacritty for a long while, the videos were mostly shot with iTerm.
Today, I'm doing both within Wezterm and I'm not going back.
If you want my config it's here: dotfiles.omerxx.com
thing is this clutter the screen like crazy, and not only because I'm 80% of the time on the laptop screen, but also because I need a minimal fee, I'm not sure this'll ever fit. notice how tmux just gets out of your way, visually speaking?
Totally. There’s a minimal layout you can use and also remove window borders that help but I definitely think it should offer the flexibility of configuring that on your own. There was just a recent version released that I’m going to explore and review
@@devopstoolbox thanks, I'll look into it!
For my use case Tmux is still good and I don't see my self switching to Zellij. I feel like Tmux is not in my face, but Zellij looks like a cool tool.
I totally get where you’re coming from!
I’ll release another vid with the new version, maybe you’ll like the new features
Zellij have resurrect now
It does! Mentioned it in a recent video!
So what is your go to multiplex now? Is it Tmux or Zellij?
Tmux 😅
@@devopstoolbox hey I'm just starting to get into multiplexers, could you explain briefly why? :) I'm torn between these two
@@thesaintseiya I think it boils down to preference.
Zellij is much easier to get started with and I think that for a new comer the ramp up is quick and convenient.
That said, Tmux is much more customisable. This allows for a ton of plugins, and scripting options that I personally prefer.
For example, you can check my Github for plugins I created like the SessionX session manager, or the Floax plugin that adds floating panes.
github.com/omerxx/tmux-sessionx
@@devopstoolbox thanks for the quick response man
Ah Zellij its not bad it was my first multiplexer experience but i switch to tmux and now it just feels right
And what about performance ... I tested that many months ago (following the original video) on termux in my Galaxy tab s7+/s23+ and memory comsumption is very poor, zellij executes many threads, IMHO I still prefer tmux, BTW yazi is better than ranger
I actually moved to Yazi since :)
As for mem consumption, TBH, I didn't check it, at least not thoroughly, so maybe that deserves some more exploration. For other reasons, I kept using Tmux since. But I'm watching Zellij closely
I've found the performance of zellij over ssh to be surprisingly very bad. I hope they fix it.
That’s interesting input. But how does SSH come in here?
The multiplexer shouldn’t have an effect here. Or I’m missing something
I agree that it shouldn't have an effect. But when I've SSH'ed on a laptop to a desktop host, and ran zellij on the host it gets slow. Running zellij on the laptop and using ssh in individual panes seems fine. I haven't tried in a few versions, maybe it's already fixed.@@devopstoolbox
@@Endelin sounds like a remote machine that was very loaded / had limited resources. If that’s not the case maybe worth opening a GitHub issue. In any event, I’ll test it out as well
Good news. I couldn't reproduce the issue with a M1 MacMini as the host.@@devopstoolbox
I love your videos but they almost all need a large volume boost.
Not the first time I’m hearing this so thank you! I’ll make sure to improve going forward!
Floating windows is nice, but it will take more than that to move us old timer tmux users to another system.
I.... agree :)
i have heard about this but tmux it's hard to dethrone , thanks for this review it looks really nice but i don't think it's worth the jump . I still remember the days i said tmux will never replace screen and look at the world now , so i can be 100% wrong
I agree! And of course it’s not for everyone. Some people value more features than others. It’s surely not as mature as tmux and has a long way, but it is promising!
@@devopstoolbox yes it looks quite promising!
This video is way too quiet, pls provide a higher volume in future videos
Hi, I will do my best to
I am just using screen lol
um tmux please.
I’m still very much a tmux user but you gotta give it for Zellij! The effort is super impressive and I think it’s going places. I’m definitely watching this space
@@devopstoolbox so why have you not switched from tmux?
@@adicide9070 I did, for a while. Then I missed having sessions and resurrect and moved back. Stayed with tmux mostly for the ability to customize looks. I’m testing the version that just came out recently and will provide a more in depth review there. I’m also in touch with the creator - Aram to help make Zellij a real alternative!
@@devopstoolbox dude, now my whole flow is built around persisting sessions with resurrect. but I do feel like having a floating terminal move up from nvim to tmux/zellij is neat. toggleterm in nvim works so-so for me. one just lives with it, as far as I'm concerned.
to be honest, I'm surprised resurrect is not built into tmux :/ and I'm sure zellij could use this kind of thing as well, right?
The perfect one should support Windows
Lmao (windows user here)
Not necessarily, also, subsystem
🤔🤔🤔
Why is your voice is quiter than every other sounds ?
poor edit please don't make videos
Thank you for the feedback mate!
The sounds has improved in recent videos.
With your permission I'll keep making videos 🤣