For Future Reference

Keybindings defined in this chapter

CommandDescription

Ctrl-a

The new Prefix.

Prefix a

Sends Ctrl-a to the program running in a tmux window or pane.

Prefix r

Reloads the tmux configuration file.

Prefix |

Splits the window horizontally.

Prefix -

Splits the window vertically.

Prefix h, Prefix j, Prefix k, and Prefix l

Moves between panes.

Prefix H, Prefix J, Prefix K, and Prefix L

Resizes the current pane.

Prefix Ctrl-h and Prefix Ctrl-l

Moves forward and backward through windows.

Commands to control tmux’s behavior

CommandDescription

set -g prefix C-a

Sets the key combination for the Prefix key.

set -sg escape-time n

Sets the amount of time (in milliseconds) tmux waits for a keystroke after pressing Prefix.

set -g base-index 1

Sets the base ...

Get tmux 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.