wiki

Help! I'm trapped in a wiki!

Site Tools


programs:tmux

tmux

tmux manages multiple terminals.

Keybindings

I have my tmux config setup so C-Space is the leader key.
You can detach from the current session with Leader + d, and reattach with tmux attach

Leader + ? lists all keybindings.

Windows

Leader + c → create new window
Leader + w → window list
Leader + n → next window
Leader + p → previous window

Copy/Paste

Leader + [ → copy mode (scroll)
Leader + ] → paste last thing
Leader + = → view copy buffer (paste anything you want)

Panes

Leader + v → split vertical
Leader + h → split horizontal
Leader + ; → switch between panes
Leader + Left,Right,Up,Down → move between panes
Leader + C-{h,j,k,l} → move between panes vi-like
Leader + C-{Left,Right} → resize panes left/right
Leader + x → kill current pane

Scroll

Leader + PageUp → enter scroll mode and go up
You can also scroll with the mouse wheel by holding Ctrl.

Copy paste over SSH

To copy into system clipboard from a remote tmux session, holf shift while selecting with left click as usual.

Docs

programs/tmux.txt · Last modified: by 127.0.0.1