Live data from Hacker News

Make tmux pretty and usable (2024)

hamvocke.com

191–200 of 285 posts

Re: Make tmux pretty and usable (2024)

#192

I love tmux! It's perfectly usable! You only need a 400-line custom-built configuration file[1]! [1] https://doc.xn0.org/.tmux.conf Disclaimer: I am being silly but serious. tmux is absolutely not user-friendly out of the box. It is, however, extremely nice after an absurd amount of tweaking, which is either an endorsement or a damning, depending on your perspective.

I dunno. I have yet to change any tmux settings, but I find it perfectly usable.

I guess it depends on what you want out of it. I’ve memorized about nine shortcuts, and that’ll all I’ve ever needed: ctrl+b and c, n, p, s, d, $, ‘,’, or PageUp/PageDown

Re: Make tmux pretty and usable (2024)

#193
post #142
post #3

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.

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.

I use tmux for everything because I work in a headless VM where a WM isn't available.

Re: Make tmux pretty and usable (2024)

#194
I really really like tmux, probably i'll try Zellij at some point but its always my default on a new server to install tmux, copy oh my tmux and vimrc configs. then voila I have everything. I have to say I feel magical most of the time i'm using it

Re: Make tmux pretty and usable (2024)

#195
I gave up on Tmux due to issues w/reboot & session storage not working after.

I used the resurrect and continuum (one to save/restore, the other to save between sessions). Everytime I would reboot, the sessions no longer worked, and I'd have to delete the saved sessions.

Just trying to use Wezterms tabs panels like windows/panels. I don't do the SSH Session save/restore from remote so don't need that feature, and thus not too worried.

Re: Make tmux pretty and usable (2024)

#196
post #3

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.

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.

Re: Make tmux pretty and usable (2024)

#197

Earlier quoted context omitted.

this is the only reason i use a mac and in a decade no open source linux terminal has ever implemented this to my knowledge

I have in https://github.com/lmorg/ttyphoon I actually don’t like control mode much though. It’s a terrible protocol. Absolutely abysmal design which leads to a plethora of edge case bugs. At some point I’ll replace tmux control mode entirely but for the moment it solves the immediate problem.

interesting, i am trying to install it to give it a try. the features in ttyphoon look very promising.

unfortunately the build now fails with "frontend.go:39:12: pattern all:frontend/dist: no matching files found"

i am also a bit taken aback by the many dependencies. with heightened risk of supplychain attacks and dependency failures that feels a bit scary.

Re: Make tmux pretty and usable (2024)

#198
post #77

Guys, did you know about tmux control mode? It tells the host terminal to treat tmux tabs as actual tabs in the terminal. That means that things like scrollback, tab navigation, copy paste, keyboard shortcuts, etc are all handled natively, and you can visually see all your tmux tabs! It doesn't have great support across all terminals, but it does work great in iTerm 2. Try `tmux -CC` in iTerm. For a tmux novice like…

this is the only reason i use a mac and in a decade no open source linux terminal has ever implemented this to my knowledge

Wezterm has some support for it on nightly.

Re: Make tmux pretty and usable (2024)

#199
post #142
post #3

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.

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.

Unless I'm misreading this, I would also offer `mosh` as a recommendation. Has been nothing but excellent for my use cases.

Re: Make tmux pretty and usable (2024)

#200
post #142
post #3

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.

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.

I'm in the same boat and https://github.com/neurosnap/zmx has been working very well for me.
Post reply on HN