All Shortcuts

tmux Shortcuts & Commands — Complete Cheat Sheet (8)

Complete tmux keyboard shortcuts and commands cheat sheet for terminal multiplexing. Essential for remote server management and multi-tasking in the terminal.

About tmux

tmux is a popular DevOps/CLI tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.

This page covers all 8 tmux shortcuts across 1 categories: Sessions & Windows. Each shortcut includes a description to help you understand when and how to use it effectively.

💡 Pro Tips for tmux Users

Start with the essentials: Learn Ctrl + B, C (New window) and Ctrl + B, N (Next window) first — these are the most commonly used.

Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.

Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the Sessions & Windows category first.

CLI tip: Create shell aliases for the commands you use most. Combine them with these shortcuts for maximum efficiency.

Related Shortcut Pages

Docker npm / yarn AWS CLI PowerShell GNU Screen LazyGit

Search all tmux shortcuts interactively

Interactive Shortcut Finder

All tmux Shortcuts

Sessions & Windows

ShortcutActionDescription
Ctrl + B, CNew windowCreate a new window.
Ctrl + B, NNext windowGo to next window.
Ctrl + B, PPrevious windowGo to previous window.
Ctrl + B, %Vertical splitSplit pane vertically.
Ctrl + B, "Horizontal splitSplit pane horizontally.
Ctrl + B, DDetach sessionDetach from session.
Ctrl + B, [Scroll modeEnter scroll mode.
Ctrl + B, ?Shortcuts listShow keyboard shortcuts.

Pro Tips

Frequently Asked Questions

How do I split the screen in tmux?

Press Ctrl+B then % for vertical split, or Ctrl+B then " for horizontal split.

How do I create a new window in tmux?

Press Ctrl+B then C to create a new window.

How do I detach from a tmux session?

Press Ctrl+B then D to detach. Reattach later with 'tmux attach'.

How do I switch between tmux panes?

Press Ctrl+B then arrow keys to move between panes.

Browse shortcuts for 230 platforms

Explore All