Skip to content

Instantly share code, notes, and snippets.

@maiduchuy
Last active October 5, 2017 16:26
Show Gist options
  • Save maiduchuy/53661fcadd8a5556d2a1b0bcc8dab325 to your computer and use it in GitHub Desktop.
Save maiduchuy/53661fcadd8a5556d2a1b0bcc8dab325 to your computer and use it in GitHub Desktop.

Overview

all tmux commands are prefix by <ctrl>a. After pressing <ctrl>a, you have to let go before applying any command below

Commands Shortcuts
enter tmux mode esc
quit tmux mode q
create new window c
go to window number use the number, 0, 1, 2...
go to the next window n
go to the previous window p
rename window ,
close window x
split vertically `
split horizontally -
go to the left, lower, upper, right pane h j k l

Tmux mode

These commands below are available in tmux mode only. To enter ; exit the tmux mode, see the list of commands above. Once you in the tmux mode, no need to prefix the commands with <ctrl>a

Commands Shortcut
search ?
scroll up <ctrl>u
scroll down <ctrl>d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment