Make tmux pretty and usable (2024)

speckx 345 points 215 comments April 13, 2026
hamvocke.com · View on Hacker News

Discussion Highlights (20 comments)

0dayman

that's pretty nice, but did you try cmux.com

ndr

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.

halfwhey

My two favorite tmux QoL improvements are enabling seamless navigation between neovim and tmux (there are many plugins but i use this one https://github.com/aserowy/tmux.nvim ) and extrakto which lets you fuzzy select anything in the tmux buffer and insert into the cursor or copy it to the clipboard. ( https://github.com/laktak/extrakto )

heatmiser

I read "tmux 2: mouse-free productivity" in a weekend years ago and it may be, pound-for-pound, one of the more impactful books on my productivity. Seems like they are keeping up-to-date too: https://bookshop.org/p/books/tmux-3-productive-mouse-free-de...

tosti

I 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

knubie

I 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).

seemaze

I've been thoroughly impressed with tmux control mode[0] in iTerm2. This lets you manage remote terminal windows with your local window management provider. It is currently in the process of being implemented in ghostty[1] as well, can't wait! [0] https://github.com/tmux/tmux/wiki/Control-Mode [1] https://github.com/ghostty-org/ghostty/issues/1935#issuecomm...

jimbokun

Any guides for tmux configuration that works well with Emacs? The use of Ctrl and Meta for basic operations conflicts with a lot of Emacs commands.

alecsm

I 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.

yoyohello13

If you're interested in an out of the box multiplexer. https://zellij.dev/ is great. I've been using it for about a year now and loving it.

Ravitej_Neeli

nice update on tmux

faangguyindia

i used to use tmux a lot when i used to develop on arch, since i moved to macos i never installed it. tbh i even forgot what it used to buy me.

post-it

I 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).

strogonoff

There’s many ways tmux could be used, but when it is part of IDE the most important usability tweaks that make tmux rock for me personally are: — session configuration save/recall (with pane layout for each tab and directory for each pane[0]), — nvim integration (for seamless split navigation and so that I can create or reattach to a tmux session in an nvim float, even though that nvim usually runs inside tmux), — a bind to force-reload a pane if (when!) a command hangs. For switching between tabs, I find that the ideal bind is simply Cmd + pane number. There’s never more than ten tabs that I’d often want to switch to within a single session. The highest number is probably four tabs. Each tab is typically assigned a high-level part of the project. [0] I always forget what terminology a given multiplexer uses, so let’s just call them “panes” and “tabs”.

traderj0e

I've always written my code in vim and preferred CLIs in general, but I really want a GUI for the terminal itself, including tmux. iTerm2 makes it nice for example, even if it's only to use the meta/super key instead of the heavily overloaded control.

hugodan

I would love to have a way to switch sessions easily, like with panes where I just click or have more shortcuts available

capitainenemo

I've had the ctrl-a setup ever since migrating from screen to tmux, just due to muscle memory. But it is more conveniently located than ctrl-b - it's also rather nice if I have multiple nested layers of tmux due to temporary ones on other hosts. Sure you can just keep repeating the bind, but, just remembering that the second layer uses ctrl-b is a bit more convenient I feel. Slows me down a little, but usually I'm not using the 2nd layer as much. I don't use capslock for ctrl though. It's much too useful as the Compose key ;)

troupo

I ended up AI-slopcoding myself a small shell script for the few things I need from tmux: https://gist.github.com/dmitriid/523a5229c9a17a1cf4ad9182f4c... I just couldn't be bothered to remember all the prefixed commands :)

himata4113

I highly recommend just turning the mouse on, it's amazing for resizing panels and the rightclick menu is nice. set -g mouse on for multi-monitor setups setw -g aggressive-resize on is also really nice.

Lihh27

the most tmux thing in the world is that "make tmux usable" is still a genre.

Semantic search powered by Rivestack pgvector
4,562 stories · 42,934 chunks indexed