This is a card in Dave's Virtual Box of Cards.

Learning tmux

Created: 2022-03-03 Updated: 2022-07-27 (Split cheatsheet into own page)

tmux in general

I learned GNU screen a couple months ago by reading the entire manual. I thought I would do the same with tmux. But as good as the tmux man page is (it’s very good), I’ve not found it to be a joyful read.

Here’s what has been working:

I’m fighting the temptation to remap these keys! The one I want to do most is replacing the arrow keys for split pane selection with vi-like hjkl. But I really want to learn the defaults before I start making my own weird stuff. tmux is one of those tools I know I’ll be using on all sorts of machines that will not have my custom config.

Update: So far, I’ve been using tmux off and on to good success. It’s an excellent tool. Sometimes a separate terminal (especially in a tiling window manager like dwm) is what I need. Sometimes it’s tmux.

I still have a mental TODO item to read (or at least skim) the full manual because of known unknowns, but especially unknown unknowns: I know I’m not using tmux as well as I could, and I’m betting I don’t even know how much better I could be using it.