tmux cheat sheat - the terminal multiplexer
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
You can find my dotfiles athttps://github.com/jared0x90/dotfileswget the latest version from
https://raw.githubusercontent.com/jared0x90/dotfiles/master/.tmux.conf
2
3
Starting tmuxDefault Command/Key/ActionMy Command/Key/Action (where applicable)Notes
4
List existing session to attach totmux ls
5
Start a new tmux sessiontmux
6
Start a named tmux sessiontmux new -s mysession
7
Attatch to a running session (most recent?)tmux a
8
Attach to a specific sessiontmux a -t mysession
9
Attatch to a running session and detatch otther connectionstmux a -dt 0
Replace 0 with the id found in ls
10
11
General Hotkey InfoKey/ActionNotes
12
prefixcontrol + bcontrol + a
Press this key combo when prefix is seen as the key use below
13
when I use ()
This is a hint as to what you need to press for a given character i.e., % = (shift 5)
14
15
Quitting tmux
16
Disconnect from the session but leave it runningprefix -> control d
17
Quit tmux entirelyclose all windows and panes?
Probably an easier way to do this.
18
19
Managing PanesKey/ActionNotes
20
Create a vertical split (split pane into two panes side by side)prefix % (shift + 5)prefix | (shift /)
21
Create a horiztonal split (split pane into two panes bottom & top)prefix " (shift + ')prefix -
22
Close out a panecontrol+d
AKA, log out of the multiplexed terminal
23
Move to another paneprefix [arrow key]
24
Zoom in/out on a pane (make it full screen/return it to it's position)
prefix z
25
Turn current pane into a clockprefix t
26
27
Managing WindowsKey/ActionNotes
28
Create a new windowprefix c
29
Switch to a different windowprefix (number like 1, 2)
30
Rename current windowprefix , (comma)
31
32
Misc
33
Check versiontmux -V
Entered at the command line
34
Turn current pane into a clockprefix t
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
Sheet1