Earlier quoted context omitted.
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.
Can you use zellij over ssh on a remote server?
Make tmux pretty and usable (2024)
41–50 of 285 posts
Re: Make tmux pretty and usable (2024)
#42I just couldn't be bothered to remember all the prefixed commands :)
Re: Make tmux pretty and usable (2024)
#43I had my tmux customized to the point I forgot how to use it on a clean install which is a problem when I'm sshing into a server. I wish it had better defaults but now I run it as is. After a while you get used to it. The only thing I always have to change is the mouse scroll and my brain cannot retain the exact command.
Why not just `scp ~/.tmux.conf remotehost:`?
In any case it's not practical to carry your dotfiles everywhere you go. Changes are also a hassle to propagate
Re: Make tmux pretty and usable (2024)
#44 set -g mouse on
for multi-monitor setups setw -g aggressive-resize on
is also really nice.Re: Make tmux pretty and usable (2024)
#45Re: Make tmux pretty and usable (2024)
#46I had my tmux customized to the point I forgot how to use it on a clean install which is a problem when I'm sshing into a server. I wish it had better defaults but now I run it as is. After a while you get used to it. The only thing I always have to change is the mouse scroll and my brain cannot retain the exact command.
Why not just `scp ~/.tmux.conf remotehost:`?
Re: Make tmux pretty and usable (2024)
#47I like having a red bar for tmux running as root and a blue one for running it as a normal user, e.g. for root: set -g status-style "bg=red" I also like to have the bar on top and the status centered: set -g status-justify absolute-centre set -g status-position top
I change the color of the bar in every server I've set it up so I know absolutely where I am.
Re: Make tmux pretty and usable (2024)
#48I 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)
#49Was 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" borrowed from https://github.com/anthropics/claude-code/issues/6072.
Re: Make tmux pretty and usable (2024)
#50Because the author suggested swapping caps lock and control key, I also recommend mapping escape key at the control key and change the behavior based on whether another key is pressed. For example, if you press control + a, it sends c-a, but if you only press control key and then release, it sends escape. It makes your vim life (and in general) a lot easier. You don’t have to compete the most variable real estate on the keyboard, right next to the A key.
For most bindings like moving, resizing, and splitting,I emulate vim bindings.
Also, -r flag for bind-key command is impotent, because it enables to repeat commands like changing the pane size or move focus. You don’t have to press prefix key each time.
If you want to get fancy look with minimal setting, use plugins like nord tmux theme.