That said, I'd push back on the idea that the default tmux config is just "ugly". The real usability issue is that the keybindings are so divorced from how people intuitively think about splits and windows that even experienced users can't remember them. The visual defaults are just a symptom of the deeper problem that it was designed for someone who already had a mental model built around screen.
Make tmux pretty and usable (2024)
151–160 of 285 posts
Re: Make tmux pretty and usable (2024)
#152I left tmux for zellij after several unsuccessful attempts to get Shift+Enter working. Was quite impressed initially and invested weeks in building new muscle memory, but somehow Zellij crashed with panic more than once, leaving all my processes orphaned. Decided to go back to tmux, and found a simple fix for my Shift+Enter issue. In case anyone is looking for it, the fix is "bind-key -T root S-Enter send-keys C-j" b…
What does shift-enter do for you?
Terminal programs don’t see key events. It’s all text. I just checked st (suckless) code and the RETURN key will send “\r” aka carriage return. Control+j is “\n” or line feed.
Re: Make tmux pretty and usable (2024)
#153I would love to have a way to switch sessions easily, like with panes where I just click or have more shortcuts available
Re: Make tmux pretty and usable (2024)
#154I stopped using tmux when I started using kitty terminal with native split windows. I prefer the native window management of kitty, but I do miss the session saving of tmux (e.g. if I accidentally close a tab).
Recent versions of Kitty have sessions. https://sw.kovidgoyal.net/kitty/sessions/
https://sw.kovidgoyal.net/kitty/sessions/#more-complex-sessi...
Re: Make tmux pretty and usable (2024)
#155Earlier quoted context omitted.
That may work for a server or two but doesn't really pan out for fleet management.
Volunteer to be the official image maintainer - I had emacs-nox and (screen) installed fleet wide for my own utility :) I had a friend that even had his public keys added to the /root/.ssh/ but I didin't go that far -I didn't even put my own .emacs out - but I at least could use good tools to look at the tcpdump output or giant log files if needed. "Eight Megs and Constantly Swapping" is not that big of a deal anymor…
Re: Make tmux pretty and usable (2024)
#156I 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.
https://github.com/jcs/dotfiles/blob/master/.tmux.conf
I’ve only reverted the prefix binding back.
Re: Make tmux pretty and usable (2024)
#157I love tmux but one thing which really annoys me is the fact that I cannot use the mouse wheel or the scroll back to see the previous content. I know there are shortcuts to go forward and back but I always forget them and they are not easily accessible on my keyboard and cumbersome.
Re: Make tmux pretty and usable (2024)
#158I appreciate that tmux has theoretical advantages over screen, but man does the implementation suck. On Mac it still seems like there's no way to copy text if you have mouse mode on (at least in code-server).
Often, holding down "Shift" while making mouse selections will "break through" and let you get at the O.S. copy/paste/selection mechanism. Highly terminal dependent, though!
Re: Make tmux pretty and usable (2024)
#159Earlier quoted context omitted.
If only we had ways to automate repeating processes… oh well
No, wanting to keep things vanilla when you're dealing with lots of random servers is a valid concern. Just because you can solve this with shell scripting doesn't mean you should.
Re: Make tmux pretty and usable (2024)
#160I appreciate that tmux has theoretical advantages over screen, but man does the implementation suck. On Mac it still seems like there's no way to copy text if you have mouse mode on (at least in code-server).
Maybe you could try this - https://github.com/tmux-plugins/tmux-yank