tmux keyboard shortcuts

tmux

Zeynel -
5 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.

Advertisement

8
Ctrl + B then S

Show all sessions

4
Ctrl + B then $

Rename session

1
Ctrl + B then (

Move to previous session

2
Ctrl + B then )

Move to next session

6
Ctrl + B then $

Rename session

4
Ctrl + B then D

Detach from session

6
Ctrl + B then C

Create window

2
Ctrl + B then N

Next window

3
Ctrl + B then 0 - 9

Switch / select window by number

1
Ctrl + B then ,

Rename current window

0
Ctrl + B then P

Previous window

1
Ctrl + B then ;

Toggle last active pane

5
Ctrl + B then %

Split pane vertically

4
Ctrl + B then "

Split pane horizontally

3
Ctrl + B then {

Move the current pane left

2
Ctrl + B then }

Move the current pane right

1
Ctrl + B then

Switch pane to the direction

-1
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

1
or Ctrl + B then Ctrl +   
-1
Ctrl + B then   

Resize current pane width

-1
or Ctrl + B then Ctrl +   
1
Ctrl + B then Space

Toggle between pane layouts

0
Ctrl + B then O

Switch to next pane

1
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

2
/

Search forward

0
?

Search backward

-1
N

Next keyword occurrence

0
↑  Shift + N

Previous keyword occurrence

0
Space

Start selection

0
Esc

Clear selection

0
⤶ Enter

Copy selection

1
Ctrl + B then ]

Paste contents of buffer_0

1
Ctrl + B then :

Enter command mode

1
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

Similar programs



User operations

Add tmux to your list of favorites

Advertisement


What is your favorite tmux hotkey? Do you have any useful tips for it? Let other users know below.


 
? Guest OP says : 21 months ago 8/13/2022 2:30 AM
Dd