tmux

Arch Wiki: tmux

Installation

sudo pacman -S tmux

Usage

Tmux Cheat Sheet

Keyboard Shortcuts

By default, command key bindings are prefixed by Ctrl B.

Session management

Command

Shortcut

Detach from session

D

Move to next session

(

Move to previous session

)

Rename session

$

Session and Window Preview

W

Window management

Command

Shortcut

Close current window

&

Create window

C

List windows

W

Next window

N

Previous window

P

Rename current window

,

Select window by number

09

Toggle last active window

L

Panes

Command

Shortcut

Convert pane into a window

!

Move the current pane left

{

Move the current pane right

}

Resize current pane

Ctrl B + Up
Ctrl B + Down
Ctrl B + Left
Ctrl B + Right

Show pane numbers

Q

Split the current pane with a horizontal line to create a vertical layout

"

Split the current pane with a vertical line to create a horizontal layout

%

Switch to next pane

O

Switch to pane to the direction

Up
Left Right
Down

Switch/select pane by number

q 09

Toggle last active pane

;

Toggle pane zoom

Z