Tmux usage

# run tmux as 256 color
tmux -2

# new tab
(ctrl + b) +c

# switch tab
(ctrl + b) + w and select a window number : select a window in a list
(ctrl + b) + n : next window
(ctrl + b) + p : previous window

# panes (split a tab)
(ctrl + b) + % : vertical split
(ctrl + b) + ” : horizontal split

# switch pane
(ctrl + b) +  ←/↑/→/↓ : switch a pane to a direction of arrow(ctrl + b) + o : next pane
(ctrl + b + o) : swap panes

# kill session
ctrl + d
(ctrl + b) + x

# resize a pane
(ctrl + b + ←/↑/→/↓)

 

 

Tmux usage