Skip to content
holzkohlengrill edited this page Dec 15, 2023 · 7 revisions

Tmux Cheat Sheet

For all shortcuts you have to press the PREFIX key combination first (Ctrl+b by default)

Using tmux through ssh sessions. It makes most sense to use the tmux session on the server (where you connect to; NOT on the client) since you less likely reboot your server.

Create a new session

tmux new -s sessionName

List sessions

tmux ls

Detach/Disconnect session

d

Misc

  • t: Big clock until key press
  • ?: List shortcuts
  • :: Prompt

Connect to a preexisting session

tmux a -t sessionName

Panes

  • Ctrl (hold) + arrow (de-/increments per press): Adjust size
  • , , , : Switch to pane

Copy mode

  • [ enters copy mode
  • Ctrl+W exits copy mode

Further reading

Python 3

(un)fold
Snippets
General
Libs

Linux/bash

(un)fold
Guides
Scripts

Git

(un)fold

C/C++

(un)fold

Video

(un)fold

Databases

(un)fold

Misc

(un)fold

Windows

(un)fold

Mac

(un)fold

SW recommendations

(un)fold

(Angular) Dart

(un)fold
Clone this wiki locally