Show Menu
Cheatography

tmux Keyboard Shortcuts by

Basic shortcuts for tmux

Main

f
Prompt to search for text in open windows
Page Up
Show previous messages from tmux, if any
Up, Down
Enter copy mode and scroll one page up
?
List all key bindings
t
Show the time
:
Enter the tmux command prompt
i
Display some inform­ation about the current window
C-z
Suspend the tmux client
D
Choose a client to detach
$
Rename the current session
(
Switch the attached client to the previous session
)
Switch the attached client to the next session
d
Detach the current client
L
Switch the attached client back to the last session
r
Force redraw of the attached client
s
Select a new session for the attached client intera­ctively
#
List all paste buffers
=
Choose which buffer to paste intera­ctively from a list
-
Delete the most recently copied buffer of text
[
Enter copy mode to copy text or view the history
]
Paste the most recently copied buffer of text
 

Windows

c
Create a new window
,
Rename the current window
0-9
Select windows 0 to 9
n
Change to the next window
p
Change to the previous window
w
Choose the current window intera­ctively
l
Move to the previously selected window
&
Kill the current window
f
Prompt to search for text in open windows
.
Prompt for an index to move the current window
'
Prompt for a window index to select
i
Display some inform­ation about the current window
M-n
Move to the next window with a bell or activity marker
M-p
Move to the previous window with a bell or activity marker
 

Panes

C-b
Rotate the panes in the current window forwards
!
Break the current pane out of the window
"
Split the current pane into two, top and bottom
%
Split the current pane into two, left and right
;
Move to the previously active pane
o
Select the next pane in the current window.
q
Briefly display pane indexes
m
Mark the current pane
M
Clear the marked pane
x
Kill the current pane
z
Toggle zoom state of the current pane
{
Swap the current pane with the previous pane
}
Swap the current pane with the next pane
Left, Right
Change to the pane above, below, to the left, or to the right of the current pane
M-1..5
Arrange panes in one of the five preset layouts: even-h­ori­zontal, even-v­ert­ical, main-h­ori­zontal, main-v­ert­ical, or tiled
Space
Arrange the current window in the next preset layout
M-o
Rotate the panes in the current window backwards
C-Dir
Resize the current pane in steps of one cell
M-Dir
Resize the current pane in steps of five cells

Help Us Go Positive!

We offset our carbon usage with Ecologi. Click the link below to help us!

We offset our carbon footprint via Ecologi
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          tmux the terminal multiplexer Cheat Sheet
          Cmus Cheat Sheet