by hatradiowigwam · 1mo ago · 0 comments
PS: This applies to /alot/ of software though...not just tmux. See: vim, emacs, bash, zsh.... the difference between a new or non-learned user is /vast/ compared to someone that spends 10 minutes and learns the basic of these tools. This is one of your first steps into greybeard mastery.
I've used it for years to have consistent keybindings for movement across vim windows and tmux panes. Worked much better than trying to do terminals inside vim.
So claude and I grew the replacement over the course of a few months. Really happy with it. Never looked back.
Unfortunately I still have to use macOS and Windows at work, so universal OS window management isn’t a solved problem. I’m happy enough that I can run Emacs everywhere and have consistent keybindings inside Emacs though.
I remember "getting into" vim back in ~2018 because I was doing enough work on headless machines that having a "proper" text editing experience became a must. It was only through this process did I learn about tmux and what it offered.
At some point, VSCode's remote features became good enough that I didn't really need vim anymore (granted, it's still my go-to when needed), but I still use tmux constantly. And, of course, tmux with agents is an excellent combination. The fact that I can have my remote agents interact with my existing tmux sessions is the kind of workflow I dreamed of back in 2018.
Regardless, my point is that you hear a lot of praise for things like vim and emacs, but everyone should prioritize learning tmux well enough to at least be able to navigate it and hand over sessions to agents.
I tend to use tmux for persistent sessions when ssh'ing to and fro between my own personal machines, but I've never really delved that deep into it when my work computer is a macbook pro and I simply use iterm2 and splits.
Likewise, over on linux, everyone raves about tiling window managers, but I've never really moved beyond a simple L/R split that's easily achievable in every decent floating wm / de.
Or just jump straight into herdr which offers a superset of what tmux offers.
And of Herdr, tmux, vim, and emacs, I still use all 4 regularly :)
All of these tools are great. Which one is better for you will depend on the specifics of your use case and machine
To me, Tmux seems ... not a whole lot better than a terminal. I use a regular old terminal that lets me rename tabs (and lets Claude rename them automatically). I also use VS Code where I have a few sessions in separate panes on one screen. Both those features seem to be Tmux's big selling point.
Why would Tmux be so great that I'd want to learn an entire new app and set of keyboard shortcuts: can anyone explain it in a "this Git thing sounds like what you have, but here's all the awesome stuff you can do with Git branches" kind of way?
tmux is probably my favourite tool by far. I highly suggest going through its documentation (even easier with LLMs now) to learn the basics. It's extremely scriptable.
One of favourite uses of it is its 'popup' feature. Combining the tmux popup with fzf creates a crazy opportunity of whats possible.
Highly suggest learning these tools; literally just point an agent at my comment here and ask it what one could do with tmux popup and fzf combined
I have tried to learn tmux, but the key bindings are really unintuitive to me vs my familiar vim setup