apropos of nothing, this is what a new tmux window with two panes looks like after my most recent theme tweaking.

mouse emoji only there for mouse mode.

title and current window status bg colour changes for zoom and sync modes.

I pretty much "live" on the commandline, so my shell prompt and tmux environment are idiosyncratic, but IMHO not awful

@nemothorx Dammit. Now I'm hooked. What magic is this?!

@penryu I need a more focused question before I can answer 👍

I can clean up and put my tmux config online if you like

@nemothorx Fair enough. I'll try again.

"HOW DID YOU DO ALL THOSE THINGS?!"

I spent days learning about all the tmux formatting, and really only achieved improved keybindings, a prettier tabline, and limited mouse/clipboard support!

So if you do feel like sharing your config, I would love to study it. 🙏

@penryu I have a config upload from a few years ago, it has window label colouring to match zoom/sync but not the pane title info. https://pub.thorx.net/tmux/

Also have an old tmux wrapper script+config example there for connecting to multiple machines at once

I'll aim for newer config upload later today

(check my shift/ctrl+arrow keybindings. They are core to my tmux navigation)

Oh, and I think I'm running something like v2.9

Index of /tmux/

@penryu also, I only thought after screenshotting that I should have shown off some of my zsh prompt clever too. This old writeup is still largely accurate though

http://wiki.thorx.net/wiki/Prompt

Prompt - ThorxWiki

@penryu same URL now has a 2022 config. I've just tweaked it a bit more relative to that screenshot, and cleaned up the config a bit (not a LOT, but more than none)
@nemothorx I'm still working my way through your config! First stage was cleaning up my current config and using `set -g` and other flags properly.
@penryu tbh, even after rechecking the manpage it's not entirely clear what difference -g makes compared to not using it. It's a level of tmux I don't need apparently :)

@nemothorx I did some research and found a couple good discussions. AFAICT -g sets a "global" default for a given setting when creating _new_ sessions/windows.

The fact that I rarely keep more than one session on (per user) per host makes the distinction much less important to me in practice.

@penryu yeah, I live in tmux, but one session (per user per host) is enough
Different between `set -g` and `setw -g` and `set`?

I'm reading over the tmux manual and as best I can tell, if set is given with no flags, it's a "session option" by default, which I assume to mean that it only applies to that one session. If the -g

Super User