Learn Linux TV - tmux Video Course Cheat Sheet

A Software › Linux cheat sheet in English by DaniW42

This cheatcheet refers to the awesome video series by jay at Learn Linux TV and only works if you used the config file from his blogpost (see below). PDF Export on this sheet is not working. Feel free to comment if something crucial is missing.

4,384 views 976 downloads 7 Oct 2023 History

Learn Linux TV - tmux Cheat Sheet

Learn Linux TV - tmux Cheat Sheet
Tmux is an absolutely fantastic terminal multip­lexer, allowing you to become more efficient on the Linux comman­d-line. Check out this short but sweet series, which will teach you everything you need to know about the all-po­werful tmux!

General

d
detach session
r
reload config file
l (lowercase L)
clear history
t
fullscreen clock
?
list bindings
Prefix key needs to be provided.

Sessions

tmux
start tmux (session)
tmux new -s <na­me>
start named session
tmux ls
list sessions
tmux a -t
reattach session
tmux a -t <na­me>
reattach named session
Prefix + s
list sessions (from within tmux)
Prefix + $
rename session (within tmux)
These are linux commands, except mentioned.
(Video 4 - Managing Sessions)

Splits and Panes

v
vertical split
h
horizontal split
ALT +
select pane on the left
ALT +
select pane on the right
ALT +
select pane above
ALT +
select pane below
Prefix + y
toggle synchr­onize mode
ALT-Key combin­ations must be used without Prefix.
Video 2 - Splits and Panes

Windows ("not the overrated OS")

c
new window
,
rename window
w
list windows
SHIFT +
previous window
SHIFT +
next window
CTRL + SHIFT +
swap window to the left
CTRL + SHIFT +
swap window to the right
Prefix must be provided, or are keyboard arrows
Video 3 - Managing Windows

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.