Skip to content

Latest commit

 

History

History
66 lines (58 loc) · 1.62 KB

File metadata and controls

66 lines (58 loc) · 1.62 KB

Tmux Cheatsheet

Prefix key: Ctrl+b

Sessions

Key Action
prefix + s Fuzzy switch session
prefix + N New named session
prefix + X Kill current session
prefix + d Detach from session

Windows

Key Action
prefix + w Fuzzy switch window
Alt + . / Alt + , Next / Previous window
prefix + 0-9 Select window by number
prefix + c New window
Alt + n New window (no prefix)
prefix + , Rename window
Alt + < / Alt + > Move window left/right

Panes

Key Action
prefix + | Split horizontal
prefix + - Split vertical
Alt + arrows Navigate panes
Alt + Shift + arrows Swap panes
prefix + hjkl Resize panes
prefix + z Toggle pane zoom
prefix + S Sync panes (type in all)
prefix + J Join pane from window
prefix + B Break pane to window

Layouts

Key Action
prefix + Alt+1 Even horizontal
prefix + Alt+2 Even vertical
prefix + Alt+3 Main horizontal
prefix + Alt+4 Main vertical
prefix + Alt+5 Tiled

Popups

Key Action
prefix + `` Quick terminal popup
prefix + g Lazygit popup
prefix + n Notes popup

Copy Mode

Key Action
Alt + / Enter copy mode
v Begin selection
y Yank selection
o Open URL/file (tmux-open)

Other

Key Action
prefix + r Reload config
prefix + I Install plugins
prefix + u Open URLs in pane