Live data from Hacker News

Zellij: A terminal workspace with batteries included

zellij.dev

101–105 of 105 posts

Re: Zellij: A terminal workspace with batteries included

#102
post #21
post #5

Earlier quoted context omitted.

Please don't contribute worthless and irrelevant comments like this. As you doubtless well know, piping from curl into bash is something that a large subset of respected programmers think is reasonable, and another rather tedious subset do not. For example, the entire Rust community clearly has a consensus that it's reasonable: https://rustup.rs/ As does homebrew https://brew.sh/ and pyenv https://github.com/pyenv/py…

Why do you think your opinion is more valuable than that to which you reply? For what it's worth, I can rattle off many more project names at random in 30s, and odds are they'll all have installation methods that aren't curl-pipe-shell, there are just so many more of them.

Please read what I wrote more carefully: I wasn't giving an opinion (other than the word "tedious"). I was pointing out the fact that there are large numbers of experienced software engineers on both sides of this argument, and hence it isn't an argument that can be settled, or even helpfully contributed to, by individuals giving their opinions. It's got to the point where it's more like politics or religion or something.

Re: Zellij: A terminal workspace with batteries included

#103

Serious Q: Has a serious emacs user checked this out? It looks exciting, but I’m a full time, long time, emacs -nw multi-buffer M-xshell user. Am I going to be disappointed bcs either it’s not going to let me run emacs on its sub windows, or it will have unresolveable key binding incompatibilities?

As a serious emacs user, this looks like a stripped down version of emacs. There's no reason to use this if you're already using emacs. Its UI even looks like emacs, with the modeline and minibuffer.

I had similar thoughts when seeing that it uses Web Assembly to provide plugins. It they rewrite the core functionality with that and add an editor then they've basically reinvented emacs (though with less flexibility because the plugin code is compiled). As an emacs user I find the plugin sandboxing idea interesting because security is basically missing from emacs packages. You just have to trust or review what you're installing.

Terminal support in emacs isn't super great so there's definitely room for improvement there. Maybe there's even room for Zillij and emacs to integrate via plugins. That could be quite interesting. I still use emacs and tmux side by side without any integration.

Re: Zellij: A terminal workspace with batteries included

#104

I use iTerm2 on macOS. I don’t know why one uses tmux or this. What I am missing?

I also use iTerm2 on macOS, with tmux. Here are the main reasons why I do that:

- I can create window splits running multiple shell sessions in each pane, and then "zoom" in to an individual pane to focus on what I'm doing in that shell session.

- I can organize my work into named sessions, with multiple windows within each session, and panes within each window, and navigate between these using the keyboard.

- I can persist that session/window/pane structure across machine reboots (tmux-resurrect). The result is that I always have the same set of tmux shell sessions running, corresponding to the different projects that I work on.

- The same keybindings for session/window/pane management work whether I'm on MacOS or on a remote linux machine running tmux.

But I'm not a very advanced tmux user and there's a lot more I could do. If you look through the tmux feature set it will give you an idea of what you can do beyond what you can do with iTerm2. iTerm2 does have its own "tmux integration mode" but that's never quite appealed to me: I use tmux specifically because I want the tmux style of window splits etc, and because I want the familiar keybindings to be the same when I'm on a linux machine. So placing tmux behind the iTerm2 UI isn't what I'm personally looking for. I think! Or maybe I've misunderstood the iTerm2 feature.

Re: Zellij: A terminal workspace with batteries included

#105

As a tmux user, I take a look at zellij every now and then. I love that it's more discoverable, with the keybindings displayed more readily. I think one feature I use from Tmux frequently enough is switching between sessions. It's not currently something the zellij client can do.

> I love that it's more discoverable, with the keybindings displayed more readily. Do you miss it in Tmux? Not that I remember all the hotkeys, but most 10 of them used 99% of the time for sure, for the rest just ` +?`, `Ctrl+a ?` for my config - shows your current settings.

No, but I already spent time to learn tmux. (That, and I have the opinion that I'd rather keep any window fullscreen, and be able to quickly switch between windows; so I prefer having sessions of panes, rather than splitting panes).

I still think it's a neat feature for keyboard-driven interfaces to have. -- e.g. I'd rather poke around lazygit than tig.

Post reply on HN