Last updated: May 19, 2020
tmux is a tool that I use for keeping SSH sessions on remote servers running if I get disconnected, and for allowing me to have multiple “tabs” inside a single SSH connection (“windows” in
tmux parlance). I know it can be used for a lot more than this, but I don’t spend enough time on the command line to make use of the more advanced capabilities.
- Vertically split window (create “bunk bed” panes): In theory you can do this with
ctrl-b ", but on some systems this brings up a list of windows instead. Falling back to
ctrl-b :split-window -vworks.
- Killing current pane: In theory
ctrl-b xis supposed to do this, but this doesn’t work on some systems. You can use
ctrl-b :kill-pane -t1where
1is the pane number you want to kill.
- Convert current pane to window: