Skip to content

Instantly share code, notes, and snippets.

@ELTEGANI
Forked from john2x/tmux cheatsheet.md
Created October 16, 2019 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ELTEGANI/96ca0038f659faa1cfbb68805cbf00cc to your computer and use it in GitHub Desktop.
Save ELTEGANI/96ca0038f659faa1cfbb68805cbf00cc to your computer and use it in GitHub Desktop.

screenshot

(prefix == Ctrl+f)

Panes

Navigation

(vim movement keys)
prefix h
prefix j
prefix k
prefix l

Resizing

prefix shift+h (increase left side or decrease right side*)
prefix shift+j (increase bottom side or decrease top side*)
prefix shift+k (increase top side or decrease bottom side*)
prefix shift+l (increase right side or decrease left side*)
* depending on the current pane's position

Windows

Create/close window

prefix c (create new window)
prefix x (close current window)

Navigation

prefix n ([n]ext window)
prefix b (previous window a.k.a. [b]ack)

Splitting

prefix | (vertical split)
prefix _ (horizontal split)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment