23 Tmux Keyboard Shortcuts

Tmux shortcuts offer invaluable assistance when you have multiple terminals, each running a separate program, to be created, accessed, and controlled from a single screen. They are ideal for speeding up terminal tasks, allowing you to efficiently manage processes on the server without interruption.

Many users agree that avoiding the mouse and keeping your hands on the keyboard for extended periods enhances speed and efficiency. Despite spending months building muscle memory for Tmux shortcuts, I have consistently fallen short. Therefore, I have compiled the Tmux shortcut keys in PDF format for easy printing and reference.

Manage Session Shortcuts

Actiontmux Shortcuts
New session:new
List sessionsS
Name session$
DetachD
Prompt:

Manage Windows and Sessions Tabs Shortcuts

ActionTmux Shortcut keys
Create windowCtrl + B then C
List WindowsCtrl + B then W
Next windowCtrl + B then N
Previous windowCtrl + B then P
Find windowCtrl + B then F
Name windowCtrl + B then ,
Kill windowCtrl + B then &

Panes or Splits Shortcuts

ActionTmux Shortcut keys
Vertical splitCtrl + B then %
Horizontal splitCtrl + B then “
Swap panesCtrl + B then O
Show panes numbersCtrl + B then Q
Kill paneCtrl + B then X
Move to paneCtrl + B then Arrow keys

Running or Staring Tmux Shortcuts

ActionTmux Shortcut keys
Start with a session nametmux new -s myname
Attach to an existing session numbertmux a # (or at, or attach)
Attach to a named sessiontmux a -t myname
List sessionstmux ls
Kill sessiontmux kill-session -t myname

Tmux is a staple program for both everyday users and system administrators. However, if you still wish to explore Tmux alternatives, you should consider looking into Emacs shortcuts.

READ NEXT:

Back to top button