Skip to content

Instantly share code, notes, and snippets.

@wfaler
Created December 1, 2013 19:26
Show Gist options
  • Save wfaler/7739722 to your computer and use it in GitHub Desktop.
Save wfaler/7739722 to your computer and use it in GitHub Desktop.
tmux shortcuts
ctrl-b "Prefix", gets into command mode
ctrl-b w list tmux windows
ctrl-b [number] jumps to tmux window number
ctrl-b n go to next window
ctrl-b p go to previous window
ctrl-b & close current window
ctrl-b c new window
ctrl-b , rename window
ctrl-b f find window by name
ctrl-b % split window horizontally into two panes
ctrl-b " split window vertically
ctrl-b arrows move between panes
ctrl-b : enter command mode
ctrl-b x closes pane
ctrl-b [ enter copy mode (can scroll around with arrow keys)
RESIZING PANES
enter command mode:
resize-pane by default down
resize-pane -L/R/U left, right or up
resize-pane [direction] [#] resize by cells
IN COPY MODE
? search upwards for words or phrases
n next search occurence
N previous search occurence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment