Zellij for Tmuxers

Поділитися
Вставка
  • Опубліковано 9 чер 2024
  • While Zellij IS INCREDIBLE. It comes very "raw" out of the box. Weird conflicts with Vim forces using lock mode, behaviours which made Tmux great are sometimes ignored (ahm ahm locked modes). In this video I'm going through how I made changes, why, to a point where Zellij actually feels superior now.
    LINKS AND TOOLS MENTIONED
    ▶ github.com/omerxx/dotfiles
    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:35 - Panes & Tabs
    02:30 - Locked & Session Modes
    03:02 - Pane Mode
    03:24 - Tmux Mode
    03:40 - Fixing my mapping to the "old ways"
    04:52 - Tabs Mode
    05:22 - My Config
    06:25 - Zoom & Frames
    07:35 - Simplified UI
    07:48 - Final Thoughts
    #devops #ops #cicd #flyio #productivity #dev #terminal #tmux #system #sysadmin #cloud #cli #ops #ricing #linux #macos #commandline #typing #keyboard #tutorial #beginner
  • Наука та технологія

КОМЕНТАРІ • 37

  • @user-yw3bu5zz2i
    @user-yw3bu5zz2i Рік тому +13

    Hey there! While I don't run the Zellij social accounts, I also really like your videos and am very happy you like Zellij. It's always great to hear feedback on usability - *especially* from advanced users. I plan on doing another iteration on the UI/UX over the summer and this was very useful to hear.
    While I don't personally like comparing to tmux and don't feel Zellij is competing with it, about floating panes: last time I tried them in tmux they froze the entire display behind them when visible (so that you can't for example live tail a log behind the pane), and generally seemed more like "popups" - there to briefly display information (eg. a menu or a command output) rather than be a first class citizen. But maybe things changed since then.
    Also, a personal request: I see in your videos that the frame color of panes is sometimes partial (eg. only appears on their side). I think this is a bug and I have not encountered it before - if you'd be willing to open an issue in the repository and telling us a bit more about your environment (eg. which terminal emulator you're using) that would be great - thanks!
    Aside from that, I'd be curious what you think of command panes zellij.dev/documentation/zellij-run.html (especially the re-run on ENTER and close on ctrl-c functionality) and stacked panes.
    Once again - cool videos!

    • @devopstoolbox
      @devopstoolbox  Рік тому +3

      Oh man I’m humbled to hear from you! Thank you so much for Zellij and this feedback. I’ll be more than happy to help wherever I can, whether by issues / UX sessions or whatever. I think Zellij has an amazing potential and killer features which even tmux can’t deal with.
      I understand the reluctance to compare and it’s hard not to 😅
      I’m running with Wezterm, and I’d be happy to share my full config and some other bugs I’ve encountered!
      Thanks again!

  • @WaldirBorbaJunior
    @WaldirBorbaJunior Рік тому +1

    I'm glad to see that you like Zellij

  • @murtadha96
    @murtadha96 Рік тому +1

    I was JUST watching a Zellij video this morning!
    I plan to setup Zellij to replace my tmux setup

    • @devopstoolbox
      @devopstoolbox  Рік тому +1

      There are some caveats! But all in all - great product, I've been happily using it in the past few weeks

  • @d3lirious
    @d3lirious 6 місяців тому +1

    This is an impressively well made video. A pleasure to watch. Thank you.
    I'm strugglin with something much simpler: setting up my terminal in MacOSX so that (a) it looks nice (b) I can always hotkey into it.
    Can you say a word about that? Yours looks great. I presume it's iTerm.

    • @devopstoolbox
      @devopstoolbox  6 місяців тому

      Hi! Thanks!
      Yes this was term but since I moved quite a bit and settled on WezTerm, check my latest videos to see. The actual current look is comprised of 1. My prompt - which is now Starship (there’s a video on that from the past month on my channel) and 2. Tmux, which I improved greatly also in a recent video (“UX expert fixes my tmux”). Check both!
      As far as hotkeys go, I do one of two things - a. Run it through skhd - HIGHLY recommended / b. Use a macro with my keyboard (moon lander). Both of these are videos in the making but nothing I can share at the moment

  • @ioannisgkikas1093
    @ioannisgkikas1093 3 місяці тому

    Hey! Cool stuff. Im considering the jump into zellij but not really sure yet since I have a lot of plugin dependence.
    Btw, what are you using for those floating notifications that popped up now and then throughout the vid?

    • @devopstoolbox
      @devopstoolbox  3 місяці тому

      Hey! Could you point me to one? You mean in vim or something else

  • @TheSast
    @TheSast Рік тому +2

    One feature I really like about Zellij is lock mode, but I do already have some ideas to bring it to Tmux too as a plugin!

    • @devopstoolbox
      @devopstoolbox  Рік тому +1

      Honestly, to me it felt like a patch, something that has to be there to coverup for other, more important key combinations- like vim’s jump lists, number increments, console command history (ctrl p / ctrl n) and so on…

    • @TheSast
      @TheSast Рік тому +2

      @@devopstoolbox I think that is why it was implemented but I personally do have some non prefixed bindings in Tmux that would be nice to toggle on and off sometimes.

    • @devopstoolbox
      @devopstoolbox  Рік тому

      @@TheSast this makes total sense :)

  • @Muaahaa
    @Muaahaa Рік тому +4

    I'm pretty much always using zellij while working in a terminal. While there are plenty of default configurations that clash with other tools or maybe just don't quite feel right I don't think this is a problem because they are customizable. Something I do sometimes encounter, though, that can be an issue is degraded performance when trying to scrollback or search through large amounts of text in stdout. Generally happens with large logs from complex builds or installs. Or potentially reading the logs from a long running process/service. When I hit this I tend to need to open a terminal outside zellij to perform that task.

    • @devopstoolbox
      @devopstoolbox  9 місяців тому

      I can relate to the last bit, where opening another terminal / tool is the one thing I want to avoid almost at all costs. I think Zellij are making great efforts and changes are underway!

  • @peterklemenc6194
    @peterklemenc6194 2 місяці тому

    Is there a way to toggle-off the "help" bar on the bottom? Feels very clunky.

  • @berkeleytrue
    @berkeleytrue 9 місяців тому

    Anyone know the name of the tmux plugin that dumps history into a vim session? I can't seem to find it.

  • @Slate245Ivanovo
    @Slate245Ivanovo 7 місяців тому +1

    What's your fix for the lack of resurrect functionality in Zellij? I know you can specify layout file on startup, but kinda don't want to keep it up to date.
    As I saw on github, the work on saving session is progressing, but still some time away
    Disregard that! It appears that support has landed 4 days ago. Woooo!

    • @devopstoolbox
      @devopstoolbox  7 місяців тому

      Haha wanted to say that but saw your last line 😉

  • @rjbernaldo_
    @rjbernaldo_ Рік тому +1

    I love your tamper 😇

    • @devopstoolbox
      @devopstoolbox  Рік тому

      The force tamper! Quite an expensive tool but I love it!

  • @daddyDangle
    @daddyDangle 7 місяців тому

    I love tmux-sessionizer too much to switch. Is there some similar session switcher+resurrect for zellij?

    • @devopstoolbox
      @devopstoolbox  7 місяців тому +1

      Just came out! I haven’t had time to review myself but it’s available

    • @daddyDangle
      @daddyDangle 7 місяців тому

      👀@@devopstoolbox

  • @godefroidchapelle4055
    @godefroidchapelle4055 10 місяців тому

    You tell here that you switched to zellij from tmux. In your previous video, you mentioned how you missed the tmux-resurrect plugin. Did you find a solution to replace it ?

    • @devopstoolbox
      @devopstoolbox  10 місяців тому +2

      Sadly enough, I went back to Tmux for this exact reason :(
      I am testing a new layout for Zellij including a plugin that should be a resurrect alternative. When it's ready I'll share the results :)

    • @godefroidchapelle4055
      @godefroidchapelle4055 10 місяців тому

      @@devopstoolbox Thanks for the swift answer.

  • @SebastianSipos
    @SebastianSipos 10 місяців тому +1

    I miss 'leader w'

    • @devopstoolbox
      @devopstoolbox  10 місяців тому

      What were you using it for?

    • @SebastianSipos
      @SebastianSipos 10 місяців тому

      @@devopstoolbox it's the window switcher. I think it's stock key in tmux.

    • @devopstoolbox
      @devopstoolbox  10 місяців тому

      @@SebastianSipos hmm it’s my window mapping for vim. Tmux for me is all mapped out through ctrl+A
      Anyway I’m in touch with Zellij and they’re listening and testing a new layout. Updates coming soon!

    • @SebastianSipos
      @SebastianSipos 10 місяців тому

      @@devopstoolbox in tmux if you hit leader (default ctrl+b) -> w, you get a tree of windows and panes that you can navigate and select.

  • @luccahuguet
    @luccahuguet 10 місяців тому

    Man, you can just hit "ctrl hjkl" to move around without having to enter any mode
    So you didn't have to do these rebindings

    • @devopstoolbox
      @devopstoolbox  10 місяців тому +1

      Hey, being an HHKB + VIM users my Ctrl + HJKL are bound to arrow keys from day 1 :)
      Not an option for me. It's mapped in my OS settings and theses are essentially my arrows everywhere... I know many do the same so that solution doesn't work for me. I like solutions like these to come with "reasonable" mappings to not override common practices like these

    • @luccahuguet
      @luccahuguet 10 місяців тому

      Ahh so that's why you didn't mention it!
      Yeah zellij could come up with 1 or 2 extra configs that use less keybindings or use less ctrl/alt

    • @devopstoolbox
      @devopstoolbox  10 місяців тому +1

      @@luccahuguet My ultimate goal is to actually integrate it (or decide not to) into my daily workflow but only after either perfecting every aspect or realizing it's not going to work ... still processing :)

  • @EduardoRodriguezRocks
    @EduardoRodriguezRocks Місяць тому

    makign this behave like tmux ? hehehe wtf