| ▲ | ndr 2 days ago |
| I gave up on it once I discovered https://zellij.dev/ Just even for how tab and panes are setup, and how it's good for scrolling and text selection with your mouse for copy pasting. |
|
| ▲ | clintonc 2 days ago | parent | next [-] |
| <button type="button"
class="download-hover"
onclick="location.href='https://github.com/zellij-org/zellij/releases/latest/downloa...'">
linux download
</button> Screaming into the void, I guess, but PSA. Don't use buttons for links. In my case, I couldn't right-click and copy the URL, but there are a lot of other reasons not to do this. |
| |
| ▲ | patates 2 days ago | parent | next [-] | | It also breaks a lot of a11y tooling. It really helps a lot of people when developers care about semantic html. I personally suggest web devs to install axe devtools [0] in their dev browser profile. Also, LLMs have gotten to the point that even the small local models can help a lot [1]. [0]: https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/ [1]: Gemma 4: https://pastebin.com/Mjm1Vx4C | |
| ▲ | miki123211 a day ago | parent | prev | next [-] | | Whether this should be a button or link from an A11Y perspective is... kind of up in the air. There's an argument that links are "portals" that take you somewhere, while buttons cause some action to happen, Whether you treat a file as a resource (which your browser just chooses to save on disk instead of rendering on screen), or whether you treat it as an explicit "download" action, is a matter of semantics I guess. | | |
| ▲ | rpastuszak a day ago | parent | next [-] | | <a href='...' download>...</a> | |
| ▲ | em-bee 18 hours ago | parent | prev [-] | | you can style a link to look like a button if you care about the difference. but traditionally, references to files are links, and it is up to the browser what to do with them (whether to just download them or to download and then display them). that's what all links are. that's the whole point of hypertext. every link causes the browser to make a request to a server and fetch something. buttons are for activating things, not for downloading. |
| |
| ▲ | interstice 21 hours ago | parent | prev [-] | | I've often wondered.. Why _do_ people do this? For one thing it's more code than the alternative |
|
|
| ▲ | ghshephard 2 days ago | parent | prev | next [-] |
| The only (deal breaker for me ) weakness of zellij - doesn't support copy/paste from the keyboard (from the screen/scrollback) and doesn't support multiple copy/paste buffers. I do that roughly every 60-90 seconds with tmux - so, until the zellij developers relent (they suggest the "proper way" of copy paste is to pipe the data into a text editor and use that - but has the downside of not supporting system copy-paste buffers.) - no options other than to stick with tmux (or fork zellij - but that seems a bit much....) |
| |
| ▲ | evanjrowley 2 days ago | parent [-] | | Zellij has some controls for how copy/paste is handled. Perhops these could help you in the future? Link: https://zellij.dev/documentation/options.html#copy_command | | |
| ▲ | ghshephard 2 days ago | parent [-] | | It does - and we spent an hour or so reading through the code and affordances to see if there might be a possible path. The general response is that this user behavior, selecting/copying/saving-in-named-buffer is a very "tmux" like usage pattern the Zellij authors don't want to encourage in Zellij. Instead -they suggesting bringing your preferred Text Editor (emacs, vim, etc...) and doing the select / copy /paste in that. The problems for me are - (A) I know how to select/copy/paste very well in tmux. Don't have the faintest clue how it's done in a text editor, (B) No (easy) ability to have multiple named buffers if you use a text editor, etc... I summarized them here: https://github.com/zellij-org/zellij/issues/947#issuecomment... | | |
| ▲ | gitaarik a day ago | parent [-] | | This is also the dealbreaker for me, I use copy / paste from the scrollback buffer all the time. And also quick search through the scrollback buffer. I don't want to first pipe all the output to an editor or pager or something; that messes with the terminal colors, indentation, and it's an extra step, making the whole process slower and more tedious. But I guess Zellij people don't use the keyboard so much for copy pasting. A lot of people just use the mouse. |
|
|
|
|
| ▲ | fullstop 2 days ago | parent | prev | next [-] |
| I have a few embedded devices where flash space is limited. tmux is so much smaller than zellij, and it's not even close. Zellij is close to 50 megabytes, but tmux and all dependent libraries (minus libc, it's always there) is about 2 megabytes. |
| |
| ▲ | mokoshhydro a day ago | parent | next [-] | | Screen is only 280Kb (armv7), statically compiled with curses. That's about 6-9 times smaller compared to tmux. | | |
| ▲ | fullstop 18 hours ago | parent [-] | | Yes, but I already require libevent and friends. The overhead, compared to "screen" was worth it, and I get split windows. |
| |
| ▲ | rstuart4133 2 days ago | parent | prev | next [-] | | > Zellij is close to 50 megabytes, That's a Rust thing. It's what happens when you statically link because you monomorphise everything. | | |
| ▲ | Pay08 a day ago | parent | next [-] | | And the Rust practice of everything needing at least 300 libraries. It's slowly getting to JS levels of insanity. | |
| ▲ | pmarreck 2 days ago | parent | prev [-] | | One of the reasons I went Zig for now |
| |
| ▲ | sitzkrieg 20 hours ago | parent | prev [-] | | and this is a great example why rust will never be relevant in embedded development that actually matters | | |
| ▲ | fullstop 18 hours ago | parent [-] | | So I looked into this at one point. Apparently there are ways to reduce binary size. When I first started learning Rust, my "hello wold" binary was HUGE. |
|
|
|
| ▲ | xylophile 4 hours ago | parent | prev | next [-] |
| I love Zellij but it doesn't play well with Neovim. If you try to use both tools heavily (Neovim splits + stacked Zellij panes), your Neovim layouts will get trashed. And if I have to choose between Neovim or basically anything else, Neovim will win. Sadly, these issues are low priority for the main dev. Instead they are focusing on things like serving terminal sessions over the web, which is useless to me if I can't use Neovim in it. |
|
| ▲ | btreecat 5 hours ago | parent | prev | next [-] |
| Big fan of sane defaults like this. I like tmux, but I no longer spend time customizing it for every server I run it on, only to be tripped up on some new server I haven't set-up yet. |
|
| ▲ | senderista 2 days ago | parent | prev | next [-] |
| I have been using zmx for the last 2 weeks. It's still a bit buggy (screen repainting) but quite pleasant to use with ghostty. https://github.com/neurosnap/zmx |
| |
| ▲ | ThisNameIsTaken a day ago | parent | next [-] | | Thanks! Interesting to read the rationale behind it [0] which in short is, try not to use what is basically a terminal emulator within a terminal emulator, and window management should be done by the terminal emulator.
I primarily use tmux for session persistence (in ssh sessions) anyhow, and still default to my muscle memory for new tabs/windows in the window manager.
I haven't tried it yet. The proof of the pudding will be in eating it I suppose. [0]: https://bower.sh/you-might-not-need-tmux | |
| ▲ | modeless 2 days ago | parent | prev [-] | | Thanks for the report, I heard about it recently and was wondering how buggy it was since it's very new. I'll probably still try it soon. |
|
|
| ▲ | ori_b 2 days ago | parent | prev | next [-] |
| Once I discovered window managers and graphics, I stopped using half-baked features to emulate them in the terminal. I use tmux to reattach to programs after the network connection dies, and not really anything else. I would welcome a version of it that stripped out everything but that, and just replayed the last few pages of scrollback on reattach. |
| |
| ▲ | dbu21 2 days ago | parent | next [-] | | I use tmux for everything because I work in a headless VM where a WM isn't available. | | |
| ▲ | ori_b a day ago | parent | next [-] | | I ssh in multiple times. If I really needed to, I suppose I could use vnc. | |
| ▲ | Zetaphor 2 days ago | parent | prev [-] | | You don't have a window manager hosting the terminal window on your host OS? That's the argument being made here, you're already in some kind of tiling or windowed environment, why replicate all of that on the remote? | | |
| ▲ | em-bee 18 hours ago | parent | next [-] | | because my remote is a server that keeps running while my laptop gets rebooted frequently. i can leave a tmux session running on the server for months... | |
| ▲ | npodbielski a day ago | parent | prev [-] | | Because with tmux you can reattach to session from another pc or from a phone and still have the same windows and panes? | | |
|
| |
| ▲ | y1zhou 2 days ago | parent | prev | next [-] | | I'm in the same boat and https://github.com/neurosnap/zmx has been working very well for me. | |
| ▲ | setopt 2 days ago | parent | prev | next [-] | | > I would welcome a version of it that stripped out everything but that, and just replayed the last few pages of scrollback on reattach. Like `dtach`? | | |
| ▲ | ori_b 2 days ago | parent [-] | | Thanks. Dtach is definitely closer to what I want than tmux, I'll be trying it out this week. |
| |
| ▲ | ssivark 2 days ago | parent | prev | next [-] | | Check out shpool, whose tagline is "Think tmux, then aim... lower" :-) https://github.com/shell-pool/shpool | |
| ▲ | andrewSC 2 days ago | parent | prev | next [-] | | Unless I'm misreading this, I would also offer `mosh` as a recommendation. Has been nothing but excellent for my use cases. | | | |
| ▲ | veber-alex a day ago | parent | prev | next [-] | | I use iTerm2 with tmux CC mode. Works great and gives native tabs and panes. | |
| ▲ | hrimfaxi a day ago | parent | prev | next [-] | | Using mosh would help specifically with the network reconnection piece. | |
| ▲ | ndr 2 days ago | parent | prev [-] | | window manager like what though? Mac WM is horrible, I use aerospace to make it tolerable | | |
|
|
| ▲ | snapplebobapple 2 days ago | parent | prev | next [-] |
| I did the same, however, I recently switched back because zellij has just gotten too annoyingly bloated. I ended up on tmuxp to build my tmux session and autossh to keep me connected to my various ssh sessions and am much happier. |
|
| ▲ | hesdeadjim 2 days ago | parent | prev | next [-] |
| 100%. Tmux didn’t click for me but Zellij did within 5 minutes. Lifelong Vim user so it felt a lot more familiar. |
|
| ▲ | dns_snek 2 days ago | parent | prev | next [-] |
| Cool, I'm one of the lucky ten thousand today. Thanks. |
| |
|
| ▲ | heavyset_go 2 days ago | parent | prev | next [-] |
| Just use byobu, zellij does weird things, byobu just uses tmux (or screen) and has a sane mouse TUI |
|
| ▲ | semiinfinitely 2 days ago | parent | prev | next [-] |
| I tried zellij and it feels like its ui was designed by someone raised in the world of blade runner 2049 |
|
| ▲ | LinXitoW 2 days ago | parent | prev | next [-] |
| Last time I tried zellij, a bunch of the default keybinds conflicted with default commands, or maybe vim commands, I can't remember. But the "solution" back then was constantly jumping in and out of "locked" mode, where no zellij keybindings except unlock work. Didn't seem worth it, considering the giant footprint in comparison to tmux. |
|
| ▲ | bigbugbag a day ago | parent | prev | next [-] |
| I clicked and instantly gave up on Zellij due to the horrible design fails on the first page supposed to introduce the software to the user. upfront breaking the basic expectation of having a clickable link is enough for me to know that this piece of software is badly designed and is not worth my time. |
|
| ▲ | xvilka 2 days ago | parent | prev | next [-] |
| Zellij still can't hide/show the status bar on the fly[1] and doesn't support windows preview in the windows list mode. Just these two (and many more) things are enough to stop me from migrating from tmux. [1] https://github.com/zellij-org/zellij/issues/694 |
| |
| ▲ | imbnwa 2 days ago | parent [-] | | You can't rebind plugin maps, so the session picker uses my preferred unlock chord to create a session. Dev had no interest in changing that. |
|
|
| ▲ | moontear a day ago | parent | prev | next [-] |
| I really don't like tools that are not distributed via official package managers like apt / apk. |
|
| ▲ | kator 2 days ago | parent | prev | next [-] |
| I tried tmux so many times, could not commit the sequences to memory, but then zellij was just out of the gate, easy to "discover," and then I started writing plugins (rust wasm), and I even submitted a PR which got accepted to support background colors in panes/tabs. I am a monthly donor, I think it has the right balance of community plus the lead dev has a vision, opinionated but open to inputs, and focused. |
| |
| ▲ | pmarreck 2 days ago | parent [-] | | > could not commit the sequences to memory First thing I did was customize all the input commands and configuration with LLM assistance. Smooth as butter. |
|
|
| ▲ | llagerlof 2 days ago | parent | prev | next [-] |
| I used tmux for a few years, until one day I discovered Zellij. With its significantly better UI and overall user experience, I was instantly convinced. |
| |
| ▲ | nDRDY 2 days ago | parent | next [-] | | This comment would be a lot more convincing if it weren't in response to one expressing the same sentiment :-) | | |
| ▲ | azthecx 2 days ago | parent [-] | | It is actually true though, I only use tmux nowadays when I am SSHed into a server that I need to do some work on. The only issues I've had with it is that sometimes it's hot keys conflict with vim, but you can easily turn it temporarily off with ctrl+ g. If you're already used to tmux I'm not sure you would benefit much from changing, but it definitely has a better out of the box with pane hints, names, and more user friendly hot keys. | | |
| ▲ | brewmarche 2 days ago | parent | next [-] | | Maybe give terminal windows in vim a try? vim is not a terminal multiplexer, but if all you need is multiple terminals windows: :term to open a terminal in a new vim window (or :vert term) Standard window movements apply (by default the window prefix is Ctrl-W), most important are: Ctrl-W,{hjkl} to switch between windows, Ctrl-W,{<>+-} to resize windows, Ctrl-W,{HJKL} to move windows to edges, Ctrl-W,{qc} to (force) close windows Enter normal mode of a terminal buffer with Ctrl-W,N: now you can perform vim motions and scroll the output Enter insert mode with i and you can type into the terminal again In insert mode: Ctrl-W "x to paste register x, Ctrl-W . to send a literal Ctrl-W. If too annoying, you can change the window prefix of vim This goes for vim, neovim also has a terminal mode but it works differently I think | |
| ▲ | pmarreck 2 days ago | parent | prev [-] | | > user friendly hot keys I see everyone complaining about this but as a new tmux user as of a few months ago, I had an LLM assist me with configuring it how I wished and it did a bang-up job. Stuff like using “-“ to split horizontal and “|” to split vertical so you don’t even have to remember it… |
|
| |
| ▲ | fernandotakai 2 days ago | parent | prev | next [-] | | i tried both and i honestly... i didn't see anything different. i want tmux for three things: 1. easy splits 2. easy scrollback 3. being able to restart a session if my terminal dies given all that, tmux works exactly as expected. what are all these "significantly better ui and overall ux"? | | |
| ▲ | Groxx 2 days ago | parent | next [-] | | There's a number of people who effectively use tmux as their window manager - one terminal window doing literally everything. Locally as well as remotely, but it's more... understandable for remote, where other options are often worse or nonexistent. For them, there's as much variety of desires as for any other window manager, and there are tons of those. But terminal ones are usually significantly easier to configure in wild ways due to having fewer (but more powerful) knobs to tweak, so a fair number choose just one and configure the heck out of it. | |
| ▲ | dcminter 2 days ago | parent | prev [-] | | My terminal (terminator) does (2) and the "easy" scrollback on tmux messes up the ability to scroll with the mouse, at least with default settings. I just tried it in zellij and that doesn't. Since I'm only using a multiplexor for (3) and zellij does that too, I'm already inclined to switch. I know I'd get used to them, but the key combos used by tmux seem very odd choices, even to someone who used to code on a real glass tty! |
| |
| ▲ | dummydummy1234 2 days ago | parent | prev [-] | | Can you use zellij over ssh on a remote server? | | |
| ▲ | TheTaytay 2 days ago | parent [-] | | Yes you can! | | |
| ▲ | ndr 2 days ago | parent [-] | | without running zellij on the remote machine? how? | | |
| ▲ | kibwen 2 days ago | parent [-] | | I'm unclear what's being asked. Zellij is just a TUI-based terminal multiplexer like tmux and screen, you either run it locally and SSH within it to a remote machine, or SSH to a remote machine and run Zellij from within the remote connection. | | |
| ▲ | Kim_Bruning 2 days ago | parent [-] | | I guess they mean 'have zellij hold your session when you log off/close controlling terminal'. (that would require zellij on remote) |
|
|
|
|
|
|
| ▲ | KetoManx64 2 days ago | parent | prev | next [-] |
| Same here. I bounced off it a few times because KDE konsole already had built in tab/pane support but once I picked up neovim the key chords for triggering actions just made so much sense compared to the static key binds of Console that I just started using Zellij for tabs and panes within Console. |
|
| ▲ | pmarreck 2 days ago | parent | prev | next [-] |
| Tried it. It’s certainly prettier and has a few unique features but a number of corner cases I depend on in tmux simply don’t work so back I went Also, can’t really stand the name. |
|
| ▲ | snthpy 2 days ago | parent | prev | next [-] |
| This sentiment seems to be shared widely. Is there a good conversion guide for tmux users? I tried zellij a couple of years ago when it first got popular and it didn't click for me. |
| |
| ▲ | ndr 2 days ago | parent | next [-] | | https://zellij.dev/screencasts/ has some starting links, if screencasts do it for you For me the only glitch was some key binding collision with ghostty/aerospace but it works perfectly out of the box on alacritty for me | |
| ▲ | baby 2 days ago | parent | prev [-] | | Tried it when it came out on mac and it was super glitchy so I gave up. Also usally tmux is useful when I ssh |
|
|
| ▲ | christiansafka 2 days ago | parent | prev | next [-] |
| If anyone is looking for a slightly higher level management of persistent sessions, we just launched https://haventerminal.com for Mac |
|
| ▲ | garymiklos 2 days ago | parent | prev [-] |
| I prefer smux.dev |