TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Zellij: A terminal workspace with batteries included

202 pointsby bruh2over 1 year ago

31 comments

cracoucaxover 1 year ago
I&#x27;ve switched from tmux to zellij about 2 monthes, ago, it may have less features than tmux for now but it certainly does all i need, in most case better than tmux. It is much more user friendly and usable imo.<p>Frankly i&#x27;ve spent too much time in the past fiddling with complex confs and tools which expect the user to spent days figuring out a conf which work for them. Then if you don&#x27;t use the tool for 1 month, or simply don&#x27;t edit the conf for a big while you&#x27;ve forgotten half of it.<p>Zellij has a conf file, it took me a bit of time to tweak it at first, but i know I can understand it in a pinch. Same thing for actually using it, it&#x27;s mostly discoverable.<p>And most importantly, it is very clear that simplicity and predictability are big priorities. It shows everywhere in the project, I totally vouch this approach and tend to do the same thing on my work projects. I know from experience than understanding your user&#x27;s needs and getting out of your way to make their life easy by not having to think about how the implementation is done is really much harder that just making a tool configurable and extensible...<p>So, big kudos to you Zellij devs !
评论 #39261809 未加载
keiferskiover 1 year ago
In case you were curious where the name comes from:<p><i>Zellij (Arabic: الزليج, romanized: zillīj; also spelled zillij or zellige) is a style of mosaic tilework made from individually hand-chiseled tile pieces.</i><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Zellij" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Zellij</a>
评论 #39266478 未加载
评论 #39261866 未加载
INTPenisover 1 year ago
Happy to see it, but unlike others in this thread I have no issue at all with Tmux.<p>The way people are reacting to zellij is how I reacted going from screen to tmux. It was so much easier to understand and quickly get started doing advanced things in, compared to screen.
评论 #39261087 未加载
评论 #39269808 未加载
评论 #39261307 未加载
eigenvalueover 1 year ago
I’m always surprised to see that there are so many professional developers who never tried tmux and don’t really understand why a terminal multiplexer would be useful. I’m in tmux all day and it’s one of the first things I install on any box. I’ll check out Zellij, but it’s a high bar for me to switch.
评论 #39260020 未加载
评论 #39260050 未加载
评论 #39260434 未加载
评论 #39261432 未加载
评论 #39260126 未加载
评论 #39259999 未加载
评论 #39260464 未加载
评论 #39270440 未加载
ayoisaiahover 1 year ago
I switched from Tmux to Zellij ~2 months ago. What I like most about it is the floating panes feature that makes it really easy to create terminals for running stuff in the background without taking up space in the main window.
评论 #39259893 未加载
评论 #39260002 未加载
评论 #39277267 未加载
frankjrover 1 year ago
A killer feature for me is combining floating windows with &quot;zellij run&quot;. It allows you to run a command but also re-run the command by pressing enter.<p><pre><code> zellij run --floating -- date </code></pre> This will open a new floating window with the result of the command (`date` in this case) and pressing enter will run it again. I use it for running tests (make some changes, show floating windows, press enter). Depending on your OS you might already have shell aliases such as zrf (run floating) or zr.<p><a href="https:&#x2F;&#x2F;zellij.dev&#x2F;documentation&#x2F;zellij-run" rel="nofollow">https:&#x2F;&#x2F;zellij.dev&#x2F;documentation&#x2F;zellij-run</a>
评论 #39260974 未加载
dist1llover 1 year ago
Last time me and a coworker tried out Zellij (a few weeks ago), there was noticeable input lag compared to tmux. Used the most recent macOS release, running in alacritty w&#x2F; zsh. Anyone else had an experience like that? I think for terminal-based tooling like multiplexers, low latency should be a hard requirement.
评论 #39259849 未加载
评论 #39260827 未加载
elashriover 1 year ago
I like the name. It is related with one of the most beautiful art styles in my opinion [1]<p>[1] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Zellij" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Zellij</a>
评论 #39259952 未加载
jwrover 1 year ago
I checked out Zellij a while ago, because it looked all shiny, but then realized that tmux (that I&#x27;ve been using for years) does everything that zellij does, except it is more widespread (runs on remote systems which are not the most recent versions) and better debugged. So I went back to using tmux. But at least I got motivated to learn more about tmux :-)
评论 #39261209 未加载
评论 #39260994 未加载
weinzierlover 1 year ago
No one said it so far:<p>I find sandboxed plugins the killer feature.<p>I trust the Debian maintainers and couple of teams and individuals (including Aram), but there is no way I can remotely build trust for the number of people needed to build a convenient tmux&#x2F;nvim development environment. I really, really wish neovim would have a sandboxed plugin environment like this.<p>[Goes without saying that the sandbox is not a replacement for trust and vice versa, but it would be a big step forward. What we are doing right now with plugins in this space is terribly dangerous.]
imiricover 1 year ago
This looks very interesting! It&#x27;s great to see innovation in the terminal multiplexer space. tmux has held the crown for too long, and it&#x27;s worth revisiting this space with modern approaches.<p>I really like the concept of quickly hiding and showing a pane, and spawning it for a single command that can be easily repeated with Enter. Quick scrollback editing is great as well. I often do this manually in tmux with copy&#x2F;paste, or re-running the command with `tee`, which is a bit cumbersome.<p>One nitpick would be to have an option to minimize or remove the borders around panes. It&#x27;s nice to have extra metadata around a pane, such as the CWD, but space is precious in terminals, and showing borders around every pane feels wasteful. Maybe this is already possible, I haven&#x27;t looked at the docs yet. Will definitely give this a try soon.<p>EDIT: Ah, kudos for the nice roadmap[1]! It seems this might already be planned as part of [2].<p>[1]: <a href="https:&#x2F;&#x2F;zellij.dev&#x2F;roadmap&#x2F;" rel="nofollow">https:&#x2F;&#x2F;zellij.dev&#x2F;roadmap&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;zellij-org&#x2F;zellij&#x2F;issues&#x2F;1400">https:&#x2F;&#x2F;github.com&#x2F;zellij-org&#x2F;zellij&#x2F;issues&#x2F;1400</a>
评论 #39260390 未加载
0x1ceb00daover 1 year ago
Unusable for me because of memory consumption. This ticket was closed but people on that thread are still complaining about memory leaks. <a href="https:&#x2F;&#x2F;github.com&#x2F;zellij-org&#x2F;zellij&#x2F;issues&#x2F;1625">https:&#x2F;&#x2F;github.com&#x2F;zellij-org&#x2F;zellij&#x2F;issues&#x2F;1625</a>
评论 #39261385 未加载
visyslover 1 year ago
The main drawback for me is that its UI is not so much compact.
评论 #39260411 未加载
20after4over 1 year ago
So, I understand the value of tmux for detaching and restoring sessions. What I don&#x27;t really understand is why I&#x27;d want to use something like this instead of tiling and managing sessions &#x2F; windows &#x2F; panes within my terminal emulator. Kitty has tremendous support for all kinds of features, including capturing and processing the output from commands, piping scrollback buffers to external commands, scrolling to previous command prompts, searching and highlighting output dynamically, and much more besides. The overlap is significant between tools like this and tools like kitty or iTerm. Am I missing some advantage in putting this functionality on the server rather than the client?
评论 #39270922 未加载
评论 #39270997 未加载
epageover 1 year ago
I switched when I added hyperlink support to cargo so I could use the feature. I am not a tmux power user.<p>- Much easer to discover and use features<p>- The default bindings made vim unbearable so I make tmux-like bindings.<p>- The default color scheme is not great in light mode<p>- Session restore is helpful though still has issues to be worked out
csdvrxover 1 year ago
After having spent too much time trying to get the simple <a href="https:&#x2F;&#x2F;github.com&#x2F;csdvrx&#x2F;sixel-tmux&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;csdvrx&#x2F;sixel-tmux&#x2F;</a> features into mainline tmux (last November <a href="https:&#x2F;&#x2F;github.com&#x2F;tmux&#x2F;tmux&#x2F;issues&#x2F;3753">https:&#x2F;&#x2F;github.com&#x2F;tmux&#x2F;tmux&#x2F;issues&#x2F;3753</a>), maybe it&#x27;d be easier to jump ship as use zellij?<p>Could anyone offer recommendations on &quot;riced&quot; zellij configuations, or just a demo where it shows doing with (say charts of disk usage per folder), watching a movie with mpv + keeping a vim to type on?
tmerseover 1 year ago
I like how easy zellij was to set up and it&#x27;s capabilities to define new layouts as well as the default way of displaying contextual shortcuts that one can disable after one memorized the most important shortcuts.<p>What I would still like to see is support for kitty image protocol [1] so I could use e.g. image.nvim [2] which currently works in tmux (which I migrated away from in favor of zellij).<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;zellij-org&#x2F;zellij&#x2F;issues&#x2F;2814">https:&#x2F;&#x2F;github.com&#x2F;zellij-org&#x2F;zellij&#x2F;issues&#x2F;2814</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;3rd&#x2F;image.nvim">https:&#x2F;&#x2F;github.com&#x2F;3rd&#x2F;image.nvim</a>
gloosxover 1 year ago
Never in my life understood the people who invented terminal multiplexer to launch several copies of vim in different terminals. As much as you want, you can create tabs, terminals, floating windows, split panes and even recursively nested vims within a single instance of vim itself, like this: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;vUd9OOU" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;vUd9OOU</a><p>Can someone explain why this is needed and how it&#x27;s better that of vim&#x27;s splits tabs and panes?
评论 #39271957 未加载
p3t3over 1 year ago
In my opinion tmux has two shortcomings. The built in session manager is very limited(so I am using my own script instead). And the ability to save and restore sessions is achieved using two plugins that can take some time to wrap your head around and make them work.<p>Zellij on the other started with the goal to be as user friendly as possible and basic tmux features(such as detach) were implemented very recently. There are too many elements on the screen, and each actions requires you to go into a &quot;mode&quot; which feels like unnecessary overhead after getting used to the way the modifier&#x2F;prefix approach works in tmux. And I am more then fine with modes(I use neovim and emacs with evil keybindings) but when it comes to terminal multiplexer or window manger I feel a modifier provides less friction.<p>When its all said and done and tmux is configured I feel I am getting a more fluent experience. Unlike vim and emacs I don&#x27;t see a lot of distinction between tmux and Zellij and I don&#x27;t see a many reasons to switch at the moment.
评论 #39261242 未加载
dmdover 1 year ago
I want to love Zellij, but it eats up way too many keybindings. Yes, I know about mode lock, but then it&#x27;s an extra two or four keypresses for everything I want to do.<p>I&#x27;d love Zellij with <i>true</i> tmux style keybindings - a single prefix key followed by a non-modified letter.<p>With zellij, you have to unlock, do your zellij command, then lock again.
fsniperover 1 year ago
This looks cool. I will check this in a system admin perspective.
评论 #39259708 未加载
评论 #39265099 未加载
mhdover 1 year ago
Last time I tried it, it didn&#x27;t add features I really felt would change my workflow, and the memory consumption was rather high.<p>In general I notice a lot more resources used for terminal multiplexing, starting with GPU-focused terminal emulators (or even ones using Electron).<p>Maybe I missed something, I probably could run screen + xterm and barely notice any difference. Almost getting a bit of FOMO here, but have yet to see e.g. a screencast that would make me envious.
novagamecoover 1 year ago
It&#x27;s always interesting to me to see CLI users who are so invested in their development environment that they end up recreating the GUI IDEs they so disdain. Like vim users who insist that Jetbrains or VS Code is unnecessary after they configure vim with syntax highlighting, code completion, and gdb support with breakpoints
ahurmazdaover 1 year ago
I use terminal … a lot. Alas! These days it’s the terminal bundled with my IDE (intellij). I have multiple projects open and never really found a good workflow around terminals and IDE because I absolutely must use both.
评论 #39267258 未加载
djaouenover 1 year ago
This looks cool, but it looks like it’s geared towards vim users as it overrides some Emacs&#x2F;readline keybindings. If I ever switch to vim, I will give it a try.
yewenjieover 1 year ago
I have been using Zellij since pretty much when they announced it, but it still lacks good plugins and a stronger ecosystem.
totetsuover 1 year ago
Am I a dinosaur for still using gnuscreen?
评论 #39265827 未加载
评论 #39260951 未加载
dcchambersover 1 year ago
Okay, okay. I&#x27;ve been a diehard tmux user for a decade, but I&#x27;ll finally give this a try.
daswerthover 1 year ago
Can anyone compare Zellij with Byobu? Seems like it was the previous &quot;new hotness&quot;.
评论 #39266957 未加载
lchen_hnover 1 year ago
I feel its memory leak issue should get more attention
评论 #39273335 未加载
sesmover 1 year ago
Reminds me of TempleOS window manager.
评论 #39260309 未加载