In Linux we trust!

tmux cheatpaper

Recently moved to tmux from Byobu. Here is the tmux cheatpaper.

Install & configure:

# apt-get install tmux


set-option -g prefix C-a
unbind-key C-b
bind-key C-a send-prefix

Console commands:

tmuxStart new session
tmux lsList all available sessions
tmux attachAttach to last session
tmux attach -t 0Attach to indicated session
tmux kill-serverKill Terminal server

Windows manipulation:

Ctrl + A + CCreate new window
Ctrl + A + NNext window
Ctrl + A + PPrevious window
Ctrl + A + WOpen interactive windows chooser
Ctrl + A + ,Rename current window
Ctrl + A + .Reorder current window
Ctrl + DClose the window or current pane

Pane manipulation:

Ctrl + A + "Split current pane horizontally
Ctrl + A + %Split current pane vertically
Ctrl + A + ArrowActivate another pane
Ctrl + A + Alt + ArrowResize current pane