Tmux

Terminal multiplexer.

plurigrid a1c2524 2 files · 2.0 KB Updated

File contents

tmux

Terminal multiplexer.

Sessions

tmux new -s name
tmux attach -t name
tmux ls
tmux kill-session -t name

Keys (prefix: C-b)

d       Detach
c       New window
n/p     Next/prev window
0-9     Select window
%       Split vertical
"       Split horizontal
o       Next pane
z       Toggle zoom
x       Kill pane
[       Copy mode
]       Paste

Copy Mode

Space   Start selection
Enter   Copy selection
q       Quit
/       Search forward
?       Search backward

Config

# ~/.tmux.conf
set -g prefix C-a
set -g mouse on
set -g base-index 1

plurigrid/asi/tree/main/skills/tmux commit a1c25244e6

Frequently asked questions

npx skillmds@latest add plurigrid/tmux