Tmux
: Terminal Multiplexer
In Tmux there are sessions, sessions have windows and windows have panes
Tmux does not use the concept of modes rather prefixed each of the command has hotkey (Default: Ctrl + B
)
Tmux Cheat Sheet & Quick Reference
Session Management
List Sessions
Attach/ Detach an Session
Create Session
Rename Session
Move between Session
(
and )
keys
Killing Session
Windows
c
: New Window
,
: Rename Window
&
: Close Window
w
: List Windows
Move between Windows
n
: Next
p
: Previous
0-9
: Move
Panes
Split Panes/ Windows
% (Horizontal)
” (Vertical)
Move between Panes
Arrow Keys
: Move between panes
q
: Flash Pane Number
q 0-9
: Move to Pane
o
: Next Pane
Arrange/ Resize Panes
Space
: Different Layouts
Ctrl + Arrow Key
: Resize pane
z
: Zoom/ Unzoom
Copy Text
Space - Arrows - Enter
NOTE
- Space starts copy process
- Arrow to select chunk of text
- Enter to copy selected text
Closing Pane/ Window
x
: Close current pane
exit
: Close Pane