tmux keyboard shortcuts

tmux

Zeynel Abidin Öztürk -
5 months ago
- Shortcuts

If you're new to tmux, don't worry. These aren't all tmux shortcuts but they'll help you get started. They're definitely going to help you be faster, when managing from multiple command lines.

To install Tmux, type sudo apt-get install tmux in Ubuntu or Debian command line.
Ctrl + B then S

Show all sessions

Ctrl + B then $

Rename session

Ctrl + B then (

Move to previous session

Ctrl + B then )

Move to next session

Ctrl + B then $

Rename session

Ctrl + B then D

Detach from session

Ctrl + B then C

Create window

Ctrl + B then N

Next window

Ctrl + B then 0 - 9

Switch / select window by number

Ctrl + B then ,

Rename current window

Ctrl + B then P

Previous window

Ctrl + B then ;

Toggle last active pane

Ctrl + B then %

Split pane vertically

Ctrl + B then "

Split pane horizontally

Ctrl + B then {

Move the current pane left

Ctrl + B then }

Move the current pane right

Ctrl + B then ← ↑ → ↓

Switch pane to the direction

Ctrl + B then Q

Show pane numbers

Ctrl + B then Q then 0 - 9

Switch / select pane by number

Ctrl + B then Z

Toggle pane zoom

Ctrl + B then !

Convert pane into a window

Ctrl + B then updwon

Resize current pane height

or Ctrl + B then Ctrl + ↑  ↓
Ctrl + B then ←  →

Resize current pane width

or Ctrl + B then Ctrl + ←  →
Ctrl + B then Space

Toggle between pane layouts

Ctrl + B then O

Switch to next pane

Ctrl + B then X

Close current pane

Ctrl + B then [

Enter copy mode

Ctrl + B then Page Up

Enter copy mode and scroll one page up

Q

Quit mode

G

Go to top line

↑  ↓

Scroll up / down

H

Move cursor left

J

Move currsor down

K

Move cursor up

L

Move cursor right

W

Move cursor forward one word at a time

B

Move cursor backward one word at a time

/

Search forward

?

Search backward

N

Next keyword occurrence

↑   Shift + N

Previous keyword occurrence

Space

Start selection

Esc

Clear selection

⤶ Enter

Copy selection

Ctrl + B then ]

Paste contents of buffer_0

Ctrl + B then :

Enter command mode

Ctrl + B then ?

Show shortcuts


Share this page on:

Program information

Program name: tmux tmux (System tools)

tmux is a 'terminal multiplexer' for Unix based operating systems that allows multiple terminal sessions to be accessed from a single window. With tmux, you can also leave the terminal session without interrupting the running process.

Web page: github.com/tmux/tmux/wiki

Last update: 11 Nov 2019

Updated: Updated program information. (2 updates.) 10/24/2019 2:24:23 PM New program added.
11/3/2019 10:13:10 PM Updated program information.

Shortcut count: 49

How easy to press shortcuts: 60%

Platform detected: Windows or Linux (not macOS)

Similar programs



Advertisement

Join our mailing list!

Your email is kept private and we don't spam.