I'm constantly fighting with tmux copying. I want it to perform like native copying, but in mouse mode it seems to copy more characters than I want, copy newlines when I don't want them, and doesn't copy to clipboard in tmux-in-tmux situations.
Make tmux pretty and usable (2024)
181–190 of 285 posts
Re: Make tmux pretty and usable (2024)
#182I 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 only run it in my own machines so it never runs as root anyway)
Re: Make tmux pretty and usable (2024)
#183I 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.
Re: Make tmux pretty and usable (2024)
#184Ctrl-a interferes with readline shortcuts. I've been using Ctrl- : nothing, as far as I know, binds to that. unbind C-b set-option -g prefix C-Space bind-key C-Space send-prefix
Very handy when you make a typo far into a long password and can't keep track of whether you've mashed backspace enough.
Re: Make tmux pretty and usable (2024)
#185Guys, 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…
Re: Make tmux pretty and usable (2024)
#186I 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.
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
Re: Make tmux pretty and usable (2024)
#187I 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.
Re: Make tmux pretty and usable (2024)
#188has been working for me for years
Re: Make tmux pretty and usable (2024)
#189Earlier quoted context omitted.
A `kill -9` will cause many a process to die and give no chance to cleanup any child processes. Some percentage of users continue to use `kill -9` by default, which may result in a mess of a process tree. Otherwise if the crash is bad enough that cleanup code cannot run (maybe it's being run on OpenBSD and an incompetent programmer didn't check the return value of a malloc and for some reason the kernel now nukes the…
TIL. I didn’t know it’s the responsibility of the parent, thought OS automatically handles child processes.
The OS will typically not kill orphaned/re-parented processes for you. It will simply wait/reap them so they are not left as zombies once they complete. If your parent process spawns something like a daemon server that needs an explicit signal to be stopped (e.g. SIGINT/SIGTERM), these processes will continue to run in the background until they are manually killed or they crash.
Re: Make tmux pretty and usable (2024)
#190that's pretty nice, but did you try cmux.com