Introduction

"<C-b>" stands for the key combination "Ctrl+b".

Session Management

CommandExplanation
<C-b>sList sessions
<C-b>$Name sessions

Window Management

CommandExplanation
<C-b>cCreate new window
<C-b>nGo to next window
<C-b>pGo to previous window
<C-b>[i]Go to [i] window
<C-b>'Select the window index
<C-b>wInteractive index to choose window (0-9a-z)
<C-b>fFind window by name
<C-b>lGo to last used window
<C-b>.Interactively move window
<C-b>,Rename current window
<C-b>&Kill current window

Pane Management

CommandExplanation
<C-b>"Split vertically
<C-b>%Split horizontally

Moving between panes

CommandExplanation
<C-b>[↑|↓|β†’|←]Move through panes
<C-b>oGo to next pane (cycle)
<C-b>;Go to last used pane

Resizing panes

CommandExplanation
<C-b> Esc+[↑|↓|β†’|←]Change size of active pane
<C-b> Alt+[↑|↓|β†’|←]Change size of active pane

Links

Permalink: https://hanez.org/document/tmux-cheat-sheet/