Terminal

🪟tmux Keyboard Shortcuts

23 essential shortcuts for tmux

Windows

ShortcutAction
Ctrl+b cCreate new window
Ctrl+b n/pNext / previous window
Ctrl+b 0–9Switch to window number
Ctrl+b wList all windows (interactive)
Ctrl+b ,Rename current window
Ctrl+b &Kill current window

Panes

ShortcutAction
Ctrl+b %Split pane vertically
Ctrl+b "Split pane horizontally
Ctrl+b ←///Navigate between panes
Ctrl+b zToggle pane zoom (full screen)
Ctrl+b xKill current pane
Ctrl+b oCycle to next pane
Ctrl+b {/}Move pane left / right
Ctrl+b Ctrl+/Resize pane left / right

Sessions

ShortcutAction
Ctrl+b dDetach from session
Ctrl+b sList sessions (interactive)
Ctrl+b $Rename current session

Copy Mode

ShortcutAction
Ctrl+b [Enter copy/scroll mode
Ctrl+b ]Paste buffer
q (in copy mode)Exit copy mode

General

ShortcutAction
Ctrl+b ?List all key bindings
Ctrl+b tShow clock
Ctrl+b :Enter command prompt

About tmux Shortcuts

tmux is a terminal multiplexer that lets you create, manage, and navigate between multiple terminal sessions inside a single window. It supports detachable sessions (persist after SSH disconnects), window splitting, and scriptable automation. tmux uses a prefix key (default Ctrl+b) followed by a command key. It is essential for remote server management, pair programming, and maintaining persistent development environments.

This reference covers 23 essential tmux keyboard shortcuts organized across 5 categories: Windows, Panes, Sessions, and more. Each shortcut lists both macOS and Windows/Linux key combinations where applicable, making it easy to find the right key combo regardless of your operating system.

Learning keyboard shortcuts is one of the highest-leverage investments you can make in your daily workflow. Studies show that developers and designers who rely on keyboard shortcuts are measurably faster at common tasks. Rather than memorizing every shortcut at once, focus on the ones you use most frequently and gradually expand your repertoire.

Bookmark this page for quick reference whenever you need to look up a tmux shortcut. The categorized layout makes it easy to find shortcuts by their function, whether you need navigation, editing, or specialized commands.

Related apps