Table of contents
tmux
start tmux
tmux
start tmux session with name
tmux new -s [name]
show open sessions
tmux ls
rename session
tmux rename-session -t [old-name] [new-name]
attach to a running session
tmux attach -t [name]
kill a session
tmux kill-session -t [name]
show key bindings
tmux list-keys
key bindings
show key bindings
ctrl-b ?
show clock
ctrl-b t
sessions
rename session
ctrl-b $
detach session
ctrl-b d
show sessions
ctrl-b s
windows
create window
ctrl-b c
switch to window
ctrl-b p # previous window
ctrl-b n # next window
ctrl-b [0-9] # select window by index
ctrl-b w # show window list
rename window
ctrl-b ,
kill window
ctrl-b &
panes
scroll pane
ctrl-b, pgup|pgdn
create vertical pane
ctrl-b %
create horizontal pane
ctrl-b "
switch between panes
ctrl-b ;
ctrl-b <arrow-key>
move pane to previous position
ctrl-b {
move pane to next position
ctrl-b }
move to pane counter clockwise
ctrl-b o
rotate pane positions right
ctrl-b ctrl-o
rotate pane positions left
ctrl-b alt-o
move pane to its own window
ctrl-b !
toggle maximize pane
ctrl-b z
resize current pane
ctrl-b ctrl-<arrow-key>
select default layout
ctrl-b alt-1 # switch to even-horizontal layout
ctrl-b alt-2 # switch to even-vertical layout
ctrl-b alt-3 # switch to main-horizontal layout
ctrl-b alt-4 # switch to main-vertical layout
ctrl-b alt-5 # switch to tiled layout
ctrl-b space # switch to the next layout
kill pane
ctrl-b x
display pane number
ctrl-b q