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
  • НаукаНаука

Комментарии • 99

  • @snieguzary
    @snieguzary 2 месяца назад +24

    Zellij now has the "resurrect" feature built in!

  • @zachmoring284
    @zachmoring284 Год назад +34

    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.

    • @devopstoolbox
      @devopstoolbox  Год назад +7

      Definitely! I did make *a lot* of changes to my config to suit my workflow. The video is already in the making 😉

    • @emersonbarros6815
      @emersonbarros6815 Год назад +2

      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

    • @devopstoolbox
      @devopstoolbox  Год назад

      @@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

    • @billcarpenter1844
      @billcarpenter1844 6 месяцев назад

      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.

    • @robertfletcher8964
      @robertfletcher8964 3 месяца назад +1

      same, every now and then I try one of these multiplexers and cant see any advantage over kitty

  • @BenSima
    @BenSima 9 месяцев назад +8

    The production quality of this video is next level

  • @hotdog2c
    @hotdog2c Год назад +10

    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

    • @devopstoolbox
      @devopstoolbox  Год назад +2

      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!

  • @digitaldisruptlabs
    @digitaldisruptlabs Год назад +2

    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

  • @SudeeptoDutta
    @SudeeptoDutta Год назад +3

    Thank you, Omer, for making this video. This video will serve as a great starting point for someone trying Zellij for the first time.

  • @StiwieMayday
    @StiwieMayday Год назад +9

    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

    • @devopstoolbox
      @devopstoolbox  Год назад +1

      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 😉

    • @StiwieMayday
      @StiwieMayday Год назад

      ​@@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!

    • @StiwieMayday
      @StiwieMayday Год назад

      @@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.

    • @JohnKarlos
      @JohnKarlos Год назад +3

      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.

  • @AdrianAyala
    @AdrianAyala Год назад +5

    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!

    • @devopstoolbox
      @devopstoolbox  Год назад

      Yes!! Let me know how it went

    • @pes18fan
      @pes18fan 2 месяца назад

      Me too lol. Just discovered zellij, can't wait to get started with it

  • @famshare-esl2453
    @famshare-esl2453 11 месяцев назад

    Super helpful and excited to discover your content through this vid.

  • @ManuelGonzales-ni9sh
    @ManuelGonzales-ni9sh Год назад

    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!

    • @devopstoolbox
      @devopstoolbox  Год назад +1

      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

  • @fahimanayet
    @fahimanayet Год назад

    woww😍😍 Just gave it a shot and I really liked it.

    • @devopstoolbox
      @devopstoolbox  Год назад +1

      Nice! Please come back with feedback, I wonder if others share the same excitement 😉

    • @fahimanayet
      @fahimanayet Год назад

      @@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.

    • @devopstoolbox
      @devopstoolbox  Год назад

      @@fahimanayet oh sweet!!! I have to test it

  • @jzmmm
    @jzmmm 7 месяцев назад +2

    i use wezterm in macos. How do I get the ALT key working for the shortcuts?

    • @devopstoolbox
      @devopstoolbox  7 месяцев назад

      Hi! What shortcuts specifically?

    • @jzmmm
      @jzmmm 7 месяцев назад +1

      @@devopstoolbox when navigating panes, there's a shortcut for ALT+hjkl. It seems like any keybind that uses ALT doesn't work

    • @devopstoolbox
      @devopstoolbox  7 месяцев назад

      @@jzmmm you’re right! I’m using alt as a global hot key for other things though. Thanks!

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars Год назад +4

    aah, this looks good but i'm too comfortable with tmux now but will give it a try :)

    • @devopstoolbox
      @devopstoolbox  Год назад

      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.

  • @gabriellopes3024
    @gabriellopes3024 10 месяцев назад +2

    Is it possible to hide the command bar in zellij ?

    • @devopstoolbox
      @devopstoolbox  10 месяцев назад +1

      Still looking myself. Testing a new alpha layout I’ll share if I find a convenient way to do it

    • @KManAbout
      @KManAbout 2 месяца назад

      Yes there is literally just read the manual

  • @__sassan__
    @__sassan__ 11 месяцев назад +9

    I’d prefer Zellij to TMUX but I find the UI a bit too much - I’d love a much simpler theme

    • @devopstoolbox
      @devopstoolbox  11 месяцев назад +2

      Checkout my last video from yesterday where I’ve configured it to use the simplified UI and removed some unused items!

  • @user-gz9mw3yr2x
    @user-gz9mw3yr2x Год назад

    Really u know i freakin love zellij now

  • @elmalleable
    @elmalleable 6 месяцев назад +1

    i love this and only 1 minute into the video

  • @noam65
    @noam65 29 дней назад +1

    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.

  • @user-xd5gd4pc9h
    @user-xd5gd4pc9h Год назад

    Awesome

  • @khanriza
    @khanriza 7 месяцев назад

    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.

    • @devopstoolbox
      @devopstoolbox  7 месяцев назад

      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

  • @chenkaihong
    @chenkaihong Месяц назад +1

    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

  • @lintaoamons5712
    @lintaoamons5712 Год назад +1

    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?

    • @devopstoolbox
      @devopstoolbox  Год назад

      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

    • @lintaoamons5712
      @lintaoamons5712 Год назад

      @@devopstoolbox github.com/LintaoAmons/CoolStuffes/blob/main/tmux/.tmux.conf#L128

  • @avinashdubey6503
    @avinashdubey6503 4 месяца назад

    what terminal you are using?

    • @devopstoolbox
      @devopstoolbox  4 месяца назад +1

      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

  • @adicide9070
    @adicide9070 9 месяцев назад +1

    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?

    • @devopstoolbox
      @devopstoolbox  9 месяцев назад +1

      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

    • @adicide9070
      @adicide9070 9 месяцев назад

      @@devopstoolbox thanks, I'll look into it!

  • @sivuyilemagutywa5286
    @sivuyilemagutywa5286 8 месяцев назад +1

    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.

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад

      I totally get where you’re coming from!
      I’ll release another vid with the new version, maybe you’ll like the new features

  • @Skmecs
    @Skmecs 5 месяцев назад +1

    Zellij have resurrect now

    • @devopstoolbox
      @devopstoolbox  5 месяцев назад

      It does! Mentioned it in a recent video!

  • @spasham74
    @spasham74 Месяц назад +1

    So what is your go to multiplex now? Is it Tmux or Zellij?

    • @devopstoolbox
      @devopstoolbox  Месяц назад

      Tmux 😅

    • @thesaintseiya
      @thesaintseiya 25 дней назад

      @@devopstoolbox hey I'm just starting to get into multiplexers, could you explain briefly why? :) I'm torn between these two

    • @devopstoolbox
      @devopstoolbox  25 дней назад +1

      @@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

    • @thesaintseiya
      @thesaintseiya 25 дней назад +1

      @@devopstoolbox thanks for the quick response man

  • @TheDarkOneSC2
    @TheDarkOneSC2 2 месяца назад

    Ah Zellij its not bad it was my first multiplexer experience but i switch to tmux and now it just feels right

  • @richarmunicosamaniego8216
    @richarmunicosamaniego8216 Месяц назад +1

    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

    • @devopstoolbox
      @devopstoolbox  Месяц назад

      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

  • @Endelin
    @Endelin 8 месяцев назад +1

    I've found the performance of zellij over ssh to be surprisingly very bad. I hope they fix it.

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +1

      That’s interesting input. But how does SSH come in here?
      The multiplexer shouldn’t have an effect here. Or I’m missing something

    • @Endelin
      @Endelin 8 месяцев назад +1

      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

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +3

      @@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

    • @Endelin
      @Endelin 8 месяцев назад

      Good news. I couldn't reproduce the issue with a M1 MacMini as the host.@@devopstoolbox

  • @murtadha96
    @murtadha96 Год назад +2

    I love your videos but they almost all need a large volume boost.

    • @devopstoolbox
      @devopstoolbox  Год назад +1

      Not the first time I’m hearing this so thank you! I’ll make sure to improve going forward!

  • @jorgen0lsen863
    @jorgen0lsen863 Месяц назад +1

    Floating windows is nice, but it will take more than that to move us old timer tmux users to another system.

  • @garciajero
    @garciajero Год назад +3

    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

    • @devopstoolbox
      @devopstoolbox  Год назад +2

      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!

    • @garciajero
      @garciajero Год назад +1

      @@devopstoolbox yes it looks quite promising!

  • @AntonioRonde
    @AntonioRonde 7 месяцев назад

    This video is way too quiet, pls provide a higher volume in future videos

  • @urzalukaskubicek9690
    @urzalukaskubicek9690 20 дней назад

    I am just using screen lol

  • @adicide9070
    @adicide9070 9 месяцев назад +1

    um tmux please.

    • @devopstoolbox
      @devopstoolbox  9 месяцев назад

      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

    • @adicide9070
      @adicide9070 9 месяцев назад +1

      @@devopstoolbox so why have you not switched from tmux?

    • @devopstoolbox
      @devopstoolbox  9 месяцев назад

      @@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!

    • @adicide9070
      @adicide9070 9 месяцев назад

      @@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?

  • @VovaY
    @VovaY Год назад

    The perfect one should support Windows

  • @khanra17
    @khanra17 8 месяцев назад

    Why is your voice is quiter than every other sounds ?
    poor edit please don't make videos

    • @devopstoolbox
      @devopstoolbox  8 месяцев назад +2

      Thank you for the feedback mate!
      The sounds has improved in recent videos.
      With your permission I'll keep making videos 🤣