Show Menu

TMUX Cheat Sheet by

My Tmux configuration's main commands
terminal     tmux

General Commands

CTRL+B
Default Bind Key
bind-key ?
Lists bind-key combin­­ations
bind-key :
Enter config options directly for current session

Windows and Panes

bind-key -
Split horizo­ntally
bind-key |
Split veritcally
bind-key Left-Arrow
Move to the left pane
bind-key Right-­Arrow
Move to the right (the correct one) pane
bind-key UpArrow
Move to the upper pane
bind-key Down-Arrow
Move to the lower pane
bind-key SPACE
Reorganize panes
bind-key Q
Show panes numbers
bind-key x
Kill curennt pane
bind-key !
Close all panes except current
 

Sessions

bind-key ls
prints a list of existing tmux sessions
bind-key new -s <na­me>
Create a new tmux session name <na­me>
bind-key kill-s­ession -t <na­me>
Kill session <na­me>
bind-key $
Rename current session

Scrolling

Mouse scroll
Scroll over pane
bind-key PagUp
Scroll up
bind-key PageDown
Scroll down
CTRL+C (on scrolling)
Scroll down to the bottom (active line)

Other Tips & Tricks

set-­o­ption -g pane-a­­ct­i­v­e-­­bor­­der-fg <co­­lo­r­>
Surround the active pane with a specific color for easier identi­­fi­c­ation (color is from colour0 to colour255)

Download the TMUX Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/aterocana_tmux.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          tmux the terminal multiplexer Cheat Sheet
          Byobu Keybindings Cheat Sheet