tmux keyboard shortcuts

tmux

Zeynel Abidin Öztürk -
3 years 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.
4
Ctrl + B then S

Show all sessions

2
Ctrl + B then $

Rename session

3
Ctrl + B then (

Move to previous session

3
Ctrl + B then )

Move to next session

2
Ctrl + B then $

Rename session

3
Ctrl + B then D

Detach from session

5
Ctrl + B then C

Create window

1
Ctrl + B then N

Next window

1
Ctrl + B then 0 - 9

Switch / select window by number

0
Ctrl + B then ,

Rename current window

1
Ctrl + B then P

Previous window

0
Ctrl + B then ;

Toggle last active pane

2
Ctrl + B then %

Split pane vertically

1
Ctrl + B then "

Split pane horizontally

2
Ctrl + B then {

Move the current pane left

1
Ctrl + B then }

Move the current pane right

0
Ctrl + B then ← ↑ → ↓

Switch pane to the direction

0
Ctrl + B then Q

Show pane numbers

2
Ctrl + B then Q then 0 - 9

Switch / select pane by number

0
Ctrl + B then Z

Toggle pane zoom

0
Ctrl + B then !

Convert pane into a window

-1
Ctrl + B then updwon

Resize current pane height

0
or Ctrl + B then Ctrl + ↑  ↓
-1
Ctrl + B then ←  →

Resize current pane width

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

Toggle between pane layouts

0
Ctrl + B then O

Switch to next pane

0
Ctrl + B then X

Close current pane

0
Ctrl + B then [

Enter copy mode

0
Ctrl + B then Page Up

Enter copy mode and scroll one page up

1
Q

Quit mode

1
G

Go to top line

0
↑  ↓

Scroll up / down

0
H

Move cursor left

1
J

Move currsor down

0
K

Move cursor up

0
L

Move cursor right

0
W

Move cursor forward one word at a time

-1
B

Move cursor backward one word at a time

0
/

Search forward

0
?

Search backward

0
N

Next keyword occurrence

0
↑   Shift + N

Previous keyword occurrence

0
Space

Start selection

0
Esc

Clear selection

0
⤶ Enter

Copy selection

0
Ctrl + B then ]

Paste contents of buffer_0

1
Ctrl + B then :

Enter command mode

0
Ctrl + B then ?

Show shortcuts


Share this page on:
Is this page helpful?
0 0

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/11/2019 8:10 PM UTC

How easy to press shortcuts: 60%

More information >>

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

Platform detected: Windows or Linux (not macOS)

Similar programs



Advertisement

Join our mailing list!

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