If you liked this video, please like and subscribe for further content. You can also join as a member of this channel for special perks youtube.com/@elijahmanor/join If you'd like to connect on social media, you can find me on Twitter twitter.com/elijahmanor and Mastodon hachyderm.io/@elijahmanor
Wow this is nice. I could never get into Tmux, but I understand its utility and power. However, Zellij has a way friendlier user interface and I'm already taking to it really well. Thanks for highlighting this tool, hopefully you'll do more vids on it.
Glad it was helpful! I've only picked up on it in the last several weeks. I've been a big tmux user for years, but have been enjoying zellij. Once you get used to the binding, you can reduce the UI so it's more streamlined zellij.dev/documentation/faq.html#the-ui-takes-up-too-much-space-what-can-i-do-about-it
After watching this video, it suddenly occurred to me that I have been going through your back catalogue of content this past week and been enjoying it immensely. So I figured I better like and subscribe :P Thank you for the effort you put into these Elijah, it is much appreciated!
Wonderful! Thank you for watching and being a repeat visitor, yay! Glad you've enjoyed the content and have found some value in it. Currently working on a Nerd Font video, which I honestly thought would be super simple and quick, but the more I dug into it... wow, there are a lot of nitty gritty details based on the approach used, your terminal emulator choice, and operating system. So, I'm trying to cover those. I have other ideas and topics planned too. Have a great day!
@@ElijahManor That is a great topic with a lot of things to cover. Tech Craft did a great video on Fonts in general that you could either use for inspiration or link to as someone else having covered that part on fonts and focus on other parts of it :) ruclips.net/video/yKjpUCCyHu8/видео.html
@@henrikstanleymortensen4295 that's great, thanks for sharing! I actually don't cover most of that... so that is a good external resource. i do agree with his font choice (as that is what i show in my video), but i cover different concerns
Pleease make more videos like that. I discovered Zellij recently and I really liked it, I just need to get the things setup and start using it -- it would be very helpful anyone that's just starting using Zellij as same as me.
Good to know! Yeah, there is a lot you can do and I love how it's such an active project. Thanks for watching and the interest in more zellij material. Aram has been doing a great job moving it along and adding great features.
So useful, thank you! Like I heard about Zellij via a different YTuber, but was left going "what is that". And youve shown me things the docs don't really highlight.
Amazing. Thanks for this video. Very useful. I read a bit about Zellij a couple of weeks ago, but didn't think it would be worthy to switch from tmux to it. Now with this vidoe, I kinda wanna try it 😄
Glad it was helpful! Yeah, I've seen it popped up in my socials recently and thought I'd give it a try. I've been impressed thus far and it feels like an active project that keeps growing and getting better. I've been a big tmux user the last 2 years, but I'm enjoying zellij right now
So frikken cool. I gave up on tmux, and started using embedded terminals within my Neovim, but that has some downsides. Totally gonna try this out! Thanks for video 💜
Great to hear! You also might want to check the 3rd FAQ in this doc I've been putting together to address some concerns you might run into when using Neovim gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
@@ElijahManor Ah man, I wish I came back here to see this! I went through this pain, and managed to figure it out myself luckily. But that could have saved me an hour. 😂 The lock strategy is working well. It's not ideal I agree, but the interface is very explicit about the state at least. I'm gonna leave zellij in the default layout mode whilst I get a handle on the keys, but keen to switch to compact layout as soon as I have the muscle memory formed.
@@sockthedev4904 glad you are enjoy it. sorry you spun your wheels on that. i'm playing around with other ideas of (different keymaps or layouts) to make working with neovim easier. but the lock works in a pinch. have a great day and thanks for coming back :)
Love this video, did not know about stacked panes. Have you considered doing a guide on Zellij layouts using KDL? I played around with it and found some strange edge cases (like how to make a new tab with a specific layout) that I could not figure out. Cheers.
Thanks for watching and that you found value in it. I have been playing with layouts and kdl. You can create a new tab from the CLI with a different layout like... `zellij action new-tab --layout /path/to/layout_file.kdl` zellij.dev/documentation/layouts.html#applying-a-layout Or you can define a custom keybinding to automatically do that... ``` keybinds { tab { bind "k" { NewTab { name "special"; layout "/path/to/layout_file.kdl"; }; SwitchToMode "Normal"; } } } ``` Or if you wanted all tabs to have a new layout, then changing the default layout should work zellij.dev/documentation/options.html#default_layout
I am very excited to see Zellij improving! However, I don't think it's ready for me - afaik there is no session saving between reboots (though zellij has this feature in the roadmap. And on tmux I use some plugins to enable session saving). And also I don't know, how to make keybindings in Zellij, which use prefix key. Over on tmux side I have set my prefix to C-Space, and it's very comfortable. Because of these two problems, I guess I will continue to use tmux for now.
That's a very good point about sessions. That's one of the most used crucial features for me in tmux. I'll definitely give it a try to Zellij, but same as you for day to day usage, I would wait for the sessions to be available
Yes that is on the roadmap zellij.dev/roadmap/ referring to this issue github.com/zellij-org/zellij/issues/575 I'm not sure the timeline of when it will be available. As for prefix, AFAIK zellij doesn't have one. It has the idea of modes like Neovim does. However, you can customize the keybindings zellij.dev/documentation/keybindings.html
Definitely trying Zellij out after watching this. The video format and explanations are top notch! That's the reason why I decided to switch to lazyvim :)
Hope you enjoy it! If you use Neovim, then you might run into conflicts with some of the keymaps. I've been putting together some FAQs about zellij and I address using Neovim gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
The main problem that I find with zellij are the keybindings. It seesm to have problems with all the text editors. And another thing that would be nice is a way of making the style more minimal.
Thanks for the comment! I've created a FAQ of recently questions I've received. There are two items that should address your questions gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632 I hope that helps. Thanks for supporting the channel!
Yeah, without a special leader key (like tmux) the probability of keymaps conflicting with other things on your machine is pretty high. One way is to lock Zelij with ctrl-g but that could become cumbersome. Another way would be to remap the Zellij config to be something else that doesn't conflict with your keys. You might take a look at all of these FAQs I put together with ideas of what you can do gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
Thanks Elijah for this great content. I recently installed lazyvim. It seems to have conflicting keybindings with zellij. Can you help, based on your experience, to create a lazyvim-zellij workflow ? I would love to use zellij in my day to day activities
Great question, I tried to answer in this Zellij FAQ that I put together as I'm answering questions from this RUclips thread gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
If you are asking about restoring a previous session after a computer restart (for example) there isn't a way to do that yet... see github.com/zellij-org/zellij/issues/575 However, you can detach from a session and resume it (as long as it is still running in the background). Here are some commands to help you with that... zellij.dev/documentation/commands.html
Is there a way to create a session -and- run a command in said session outside of zellij? That is (pretty much) the only thing stopping me from fully switching from tmux to zellij. Thanks in advance, and nice video.
Are. you asking that you want to create a new session that is detached and run a command inside of it? From what I know thus far, I don't think that is possible. Here are the primary sub-commands listed zellij.dev/documentation/commands.html However, if you are asking... can you run a command inside an existing zellij session, then yes.. zellij run -- tail -f /tmp/my-log-file That'll create a new pane that runs that command. Here are docs on the run sub-command zellij.dev/documentation/zellij-run.html There are also ways to run action commands zellij.dev/documentation/cli-actions.html You might also ask int he discussion tab of the repo github.com/zellij-org/zellij/discussions Looks like someone actually asked a very similar question recently github.com/zellij-org/zellij/discussions/2236
@@ElijahManor A whole new session and running a command inside it -- outside zellij. Just like its possible with "tmux new $command1 ';' split -h $command2 ';' split -v $command3". So I can run several commands inside zellij everytime I boot up my pc, for example. Or use a hotkey that does that and shows me several monitoring-related commands with a single tap. Which is nice for a general use. That aside, thanks for chiming in.
@@ElijahManor That is a nice faq and all... but it would be nice(r) if this function was implemented inside the zellij command... just like its possible (and much simpler) via the tmux example I used above... ...which takes me (only) three words to be executed.
@@GustavoMsTrashCan true, i don't see a way to do that currently (similar CLI only approach). maybe thumbs up the discussion post I referenced in the previous comment with your support and maybe an example of what you do in tmux (with your use case). thanks again for the watch and the interest!
Is this in relation to zellij in any way or specific to my LazyVim series? I'm not exactly sure I'm following the problem. Could you possibly create a private gist with a README.md with more detail. You could even record a screencast with QuickTime (if you are on macOS) and drag/drop the mov video file to the comments. Or you could ask on the LazyVim discussion page where many others can respond as well github.com/LazyVim/LazyVim/discussions
Great question! I've decided to give it a go for the past few weeks. I do like tmux, but I kept seeing zellij come up in my social feeds and wanted to kick the tires for a while. I did missing having a way to quickly switch between sessions like tmux (which is a feature coming, but isn't done yet), so I made this script to help me out in the meantime gist.github.com/elijahmanor/a8af9a19e7b12b4bde7fa9b9d4b7037d
@@ElijahManor it would be nice to have an episode "selling" zellij to an experienced tmux user. Stacked tabs look and run windows look great, but does it justify learning a new tool? 🤔 float windows - not sure how would I use them
Yeah, zellij is a much newer project than tmux. They solve a similar problem, but in different ways. For sure, there are pros and cons to each. I was a BIG tmux user for years, but now I'm in the phase of giving zellij an extended trial and have been experimenting with workflows and various ways to extend it. And then it comes down to personal workflows and how devs use something. I do have a tmux video and I've planned out 2 other videos in that series, but I'm currently focused on LazyVim and a series for that. But what you suggest is interesting. If you do use Vim or Neovim then there is a bit of hoops to jump through for that to be a good experience. I've started to put together a FAQ of things I'm finding (from these comments or from personal research) gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632 I hope to give back some of this work to the official repo/website
Do you mean you want a tutorial all about WezTerm or do you mean you'd like to know how to use Zellij with WezTerm? BTW, I do plan to talk about WezTerm briefly in my next video about Nerd Fonts (but it isn't meant to be an overview of WezTerm generaly)
Depending on how you set them up I can totally agree. In the video I was mostly just showing what is possible. Each person will have their own rhythm and recommended workflow. I tend to like one session per project, then tabs for focused work (like maybe an editor tab, server tab, git tab, etc), then each tab could have some panes. However, with the new stacked pane... I could see me going full-screen on the main left pane and hiding stacked panes on the right. I would imagine each person wold get into their own groove.
If you liked this video, please like and subscribe for further content.
You can also join as a member of this channel for special perks youtube.com/@elijahmanor/join
If you'd like to connect on social media, you can find me on Twitter twitter.com/elijahmanor and Mastodon hachyderm.io/@elijahmanor
Wow this is nice. I could never get into Tmux, but I understand its utility and power. However, Zellij has a way friendlier user interface and I'm already taking to it really well. Thanks for highlighting this tool, hopefully you'll do more vids on it.
Glad it was helpful! I've only picked up on it in the last several weeks. I've been a big tmux user for years, but have been enjoying zellij. Once you get used to the binding, you can reduce the UI so it's more streamlined zellij.dev/documentation/faq.html#the-ui-takes-up-too-much-space-what-can-i-do-about-it
@@ElijahManor oh nice I’ll look into that. Thanks again.
After watching this video, it suddenly occurred to me that I have been going through your back catalogue of content this past week and been enjoying it immensely. So I figured I better like and subscribe :P
Thank you for the effort you put into these Elijah, it is much appreciated!
Wonderful! Thank you for watching and being a repeat visitor, yay! Glad you've enjoyed the content and have found some value in it. Currently working on a Nerd Font video, which I honestly thought would be super simple and quick, but the more I dug into it... wow, there are a lot of nitty gritty details based on the approach used, your terminal emulator choice, and operating system. So, I'm trying to cover those. I have other ideas and topics planned too. Have a great day!
@@ElijahManor That is a great topic with a lot of things to cover. Tech Craft did a great video on Fonts in general that you could either use for inspiration or link to as someone else having covered that part on fonts and focus on other parts of it :)
ruclips.net/video/yKjpUCCyHu8/видео.html
@@henrikstanleymortensen4295 that's great, thanks for sharing! I actually don't cover most of that... so that is a good external resource. i do agree with his font choice (as that is what i show in my video), but i cover different concerns
Pleease make more videos like that. I discovered Zellij recently and I really liked it, I just need to get the things setup and start using it -- it would be very helpful anyone that's just starting using Zellij as same as me.
Good to know! Yeah, there is a lot you can do and I love how it's such an active project. Thanks for watching and the interest in more zellij material. Aram has been doing a great job moving it along and adding great features.
Fantastic. I like the pace of yours videos, your conciseness. The content itself. 10/10.
Glad you like the pace. I try to keep things tight and to the point.
So useful, thank you! Like I heard about Zellij via a different YTuber, but was left going "what is that". And youve shown me things the docs don't really highlight.
Amazing. Thanks for this video. Very useful. I read a bit about Zellij a couple of weeks ago, but didn't think it would be worthy to switch from tmux to it. Now with this vidoe, I kinda wanna try it 😄
Glad it was helpful! Yeah, I've seen it popped up in my socials recently and thought I'd give it a try. I've been impressed thus far and it feels like an active project that keeps growing and getting better. I've been a big tmux user the last 2 years, but I'm enjoying zellij right now
I'd love a full beginner tutorial for zellij. I'm absolutely going to switch to it from tmux whenever I have the time to do so!
Zellij is pretty awesome. I have a long backlog of things I want to create. I'll add that to the list, but not sure when/if it'll get done.
So frikken cool. I gave up on tmux, and started using embedded terminals within my Neovim, but that has some downsides. Totally gonna try this out! Thanks for video 💜
1 minute in and already in 💜
Great to hear! You also might want to check the 3rd FAQ in this doc I've been putting together to address some concerns you might run into when using Neovim gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
@@ElijahManor Ah man, I wish I came back here to see this! I went through this pain, and managed to figure it out myself luckily. But that could have saved me an hour. 😂 The lock strategy is working well. It's not ideal I agree, but the interface is very explicit about the state at least. I'm gonna leave zellij in the default layout mode whilst I get a handle on the keys, but keen to switch to compact layout as soon as I have the muscle memory formed.
@@sockthedev4904 glad you are enjoy it. sorry you spun your wheels on that. i'm playing around with other ideas of (different keymaps or layouts) to make working with neovim easier. but the lock works in a pinch. have a great day and thanks for coming back :)
Love this video, did not know about stacked panes. Have you considered doing a guide on Zellij layouts using KDL? I played around with it and found some strange edge cases (like how to make a new tab with a specific layout) that I could not figure out. Cheers.
Thanks for watching and that you found value in it. I have been playing with layouts and kdl.
You can create a new tab from the CLI with a different layout like... `zellij action new-tab --layout /path/to/layout_file.kdl` zellij.dev/documentation/layouts.html#applying-a-layout
Or you can define a custom keybinding to automatically do that...
```
keybinds {
tab {
bind "k" { NewTab { name "special"; layout "/path/to/layout_file.kdl"; }; SwitchToMode "Normal"; }
}
}
```
Or if you wanted all tabs to have a new layout, then changing the default layout should work zellij.dev/documentation/options.html#default_layout
I am very excited to see Zellij improving!
However, I don't think it's ready for me - afaik there is no session saving between reboots (though zellij has this feature in the roadmap. And on tmux I use some plugins to enable session saving).
And also I don't know, how to make keybindings in Zellij, which use prefix key. Over on tmux side I have set my prefix to C-Space, and it's very comfortable.
Because of these two problems, I guess I will continue to use tmux for now.
That's a very good point about sessions. That's one of the most used crucial features for me in tmux. I'll definitely give it a try to Zellij, but same as you for day to day usage, I would wait for the sessions to be available
same here. session saving feature in tmux is live saving.
Yes that is on the roadmap zellij.dev/roadmap/ referring to this issue github.com/zellij-org/zellij/issues/575 I'm not sure the timeline of when it will be available.
As for prefix, AFAIK zellij doesn't have one. It has the idea of modes like Neovim does. However, you can customize the keybindings zellij.dev/documentation/keybindings.html
Definitely trying Zellij out after watching this. The video format and explanations are top notch! That's the reason why I decided to switch to lazyvim :)
Hope you enjoy it! If you use Neovim, then you might run into conflicts with some of the keymaps. I've been putting together some FAQs about zellij and I address using Neovim gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
The main problem that I find with zellij are the keybindings. It seesm to have problems with all the text editors. And another thing that would be nice is a way of making the style more minimal.
Thanks for the comment! I've created a FAQ of recently questions I've received. There are two items that should address your questions gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632 I hope that helps. Thanks for supporting the channel!
awesome thanks!
Regarding swap layouts, is there a Zellij CLI command/action to swap to a specific named layout? (to bind to a keyboard shortcut)
I've been trying to get used to zellij but I cannot make it work properly with my macos keys. Usually unable to use the option (alt) keys.
Yeah, without a special leader key (like tmux) the probability of keymaps conflicting with other things on your machine is pretty high. One way is to lock Zelij with ctrl-g but that could become cumbersome. Another way would be to remap the Zellij config to be something else that doesn't conflict with your keys. You might take a look at all of these FAQs I put together with ideas of what you can do gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
Thanks Elijah for this great content. I recently installed lazyvim. It seems to have conflicting keybindings with zellij. Can you help, based on your experience, to create a lazyvim-zellij workflow ? I would love to use zellij in my day to day activities
Great question, I tried to answer in this Zellij FAQ that I put together as I'm answering questions from this RUclips thread gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
1:36 It doesn't work for me on macOS Alacritty. I toggle left/right option and ], but it just types ‘ to terminal
This doesn't work on a custom layout.
How can I switch between these modes, while having a custom working directory on start?
Alt + ] does not work in kitty although I have "macos_option_as_alt left" in my config and Alt+n, Alt+HJKL work as expected.
Good video. I am moving to zellij from tmux. I meet a problem, How to store and restore zellij session? Thx!
If you are asking about restoring a previous session after a computer restart (for example) there isn't a way to do that yet... see github.com/zellij-org/zellij/issues/575
However, you can detach from a session and resume it (as long as it is still running in the background). Here are some commands to help you with that... zellij.dev/documentation/commands.html
@@ElijahManor Yes, you are right.
Is there a way to create a session -and- run a command in said session outside of zellij? That is (pretty much) the only thing stopping me from fully switching from tmux to zellij. Thanks in advance, and nice video.
Are. you asking that you want to create a new session that is detached and run a command inside of it?
From what I know thus far, I don't think that is possible. Here are the primary sub-commands listed zellij.dev/documentation/commands.html
However, if you are asking... can you run a command inside an existing zellij session, then yes..
zellij run -- tail -f /tmp/my-log-file
That'll create a new pane that runs that command. Here are docs on the run sub-command zellij.dev/documentation/zellij-run.html
There are also ways to run action commands zellij.dev/documentation/cli-actions.html
You might also ask int he discussion tab of the repo github.com/zellij-org/zellij/discussions Looks like someone actually asked a very similar question recently github.com/zellij-org/zellij/discussions/2236
@@ElijahManor A whole new session and running a command inside it -- outside zellij. Just like its possible with "tmux new $command1 ';' split -h $command2 ';' split -v $command3". So I can run several commands inside zellij everytime I boot up my pc, for example. Or use a hotkey that does that and shows me several monitoring-related commands with a single tap. Which is nice for a general use.
That aside, thanks for chiming in.
I did some digging... I created an FAQ for you (and others) here gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
@@ElijahManor That is a nice faq and all... but it would be nice(r) if this function was implemented inside the zellij command... just like its possible (and much simpler) via the tmux example I used above...
...which takes me (only) three words to be executed.
@@GustavoMsTrashCan true, i don't see a way to do that currently (similar CLI only approach). maybe thumbs up the discussion post I referenced in the previous comment with your support and maybe an example of what you do in tmux (with your use case). thanks again for the watch and the interest!
Zellij support sixel dayum boehh so sexy
It is pretty nice!
bro how to fix move cursor in position of last snippet in lazyvim after using any snippets when you clicking TAB in input mode
Is this in relation to zellij in any way or specific to my LazyVim series?
I'm not exactly sure I'm following the problem. Could you possibly create a private gist with a README.md with more detail. You could even record a screencast with QuickTime (if you are on macOS) and drag/drop the mov video file to the comments.
Or you could ask on the LazyVim discussion page where many others can respond as well github.com/LazyVim/LazyVim/discussions
can you hide the shortcuts ?
Yup, you can check out the 4th FAQ that I put together gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
What is your "zr" alias? Thanks!
zr is a zellij alias for zellij run zellij.dev/documentation/controlling-zellij-through-cli.html?highlight=zr#completions
@@ElijahManor Thanks!
@@SPYFFzero no problem!
If only it worked on iterm2
It does ;) Compiling a list of FAQs that might be helpful and I added this one to it gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632
@@ElijahManor well there s that but navigating by word doesnt work for me
Are you referring to navigating by word inside of vim/neovim or using vimode inside of bash/zsh or using native terminal commands?
@@ElijahManor I'm referring to the fact that I am used to go back a word by pressing opt + left arrow for example
Did you stop using tmux yourself for this?
Great question! I've decided to give it a go for the past few weeks. I do like tmux, but I kept seeing zellij come up in my social feeds and wanted to kick the tires for a while. I did missing having a way to quickly switch between sessions like tmux (which is a feature coming, but isn't done yet), so I made this script to help me out in the meantime gist.github.com/elijahmanor/a8af9a19e7b12b4bde7fa9b9d4b7037d
@@ElijahManor it would be nice to have an episode "selling" zellij to an experienced tmux user. Stacked tabs look and run windows look great, but does it justify learning a new tool? 🤔 float windows - not sure how would I use them
Yeah, zellij is a much newer project than tmux. They solve a similar problem, but in different ways. For sure, there are pros and cons to each. I was a BIG tmux user for years, but now I'm in the phase of giving zellij an extended trial and have been experimenting with workflows and various ways to extend it. And then it comes down to personal workflows and how devs use something. I do have a tmux video and I've planned out 2 other videos in that series, but I'm currently focused on LazyVim and a series for that. But what you suggest is interesting. If you do use Vim or Neovim then there is a bit of hoops to jump through for that to be a good experience. I've started to put together a FAQ of things I'm finding (from these comments or from personal research) gist.github.com/elijahmanor/19832f408c91fa9307a2c0e34cd4a632 I hope to give back some of this work to the official repo/website
How does cowsay have such nice colours?
You can pipe the output of coway into a tool called lolcat to get nice colors github.com/busyloop/lolcat
Wezterm tutorial?
Do you mean you want a tutorial all about WezTerm or do you mean you'd like to know how to use Zellij with WezTerm? BTW, I do plan to talk about WezTerm briefly in my next video about Nerd Fonts (but it isn't meant to be an overview of WezTerm generaly)
@@ElijahManorA full overview of Wezterm
@@petersandovalmoreno5213 nice! yeah, it is pretty nice!
Utimately these panes become pain.
Depending on how you set them up I can totally agree. In the video I was mostly just showing what is possible. Each person will have their own rhythm and recommended workflow. I tend to like one session per project, then tabs for focused work (like maybe an editor tab, server tab, git tab, etc), then each tab could have some panes. However, with the new stacked pane... I could see me going full-screen on the main left pane and hiding stacked panes on the right. I would imagine each person wold get into their own groove.
Hi
U need attractive RUclips Thumbnail designer for more views?
It's a work in progress :)