Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 2.53 KB

tmux.md

File metadata and controls

54 lines (44 loc) · 2.53 KB

Tmux

This is my cheat sheet for tmux.

Prefix key

Shortcut Description
Ctrl + Space Prefix key

Windows

Shortcut Description
Prefix + c Create new window
Prefix + , Rename window
Prefix + w List windows
Prefix + n Next window
Prefix + p Previous window
Prefix + 0-9 Select window 0-9
Prefix + & Kill window
Prefix + {|,\} Split window vertically and set current pane path
Prefix + - Split window horizontally and set current pane path
Alt + h Switch to the previous window position
Alt + l Switch to the next window position
Prefix + N Move current window to next window position
Prefix + P Move current window to previous window position

Panes

Shortcut Description
Prefix + q Show pane numbers
Prefix + x Kill pane
Prefix + z Toggle pane zoom
Ctrl + h Move to the pane on the left
Ctrl + j Move to the pane below
Ctrl + k Move to the pane above
Ctrl + l Move to the pane on the right
Prefix + arrwo key Resize pane up, down, left, right
Prefix + { Move pane left
Prefix + } Move pane right
Prefix + ! Break pane into window

General

Shortcut Description
Prefix + d Detach session
Prefix + r Reload tmux config
Prefix + t Show time
Prefix + ? Show all shortcuts
Prefix + i Display info about current window