终端多窗口神器
Ctrl + b
tmux ls
Ctrl + b d
tmux attach -t <session-name>
Ctrl + b % (横向拆分/splits the current pane into two horizontally)
Ctrl + b " (纵向拆分/splits the current pane into two vertically)
Ctrl + b q (显示Pane编号/prints the pane numbers)
Ctrl + b q <number> (切换到指定编号Pane/change to pane number)
Ctrl + b { (先前移动/forward)
Ctrl + b } (先后移动/backward)
Ctrl + b c
Ctrl + b <number>
Ctrl + b z
Ctrl + b [
Ctrl + b :
set-window-option -g automatic-rename off
:resize-pane -D (向下拉伸/Resizes the current pane down)
:resize-pane -U (向上拉伸/Resizes the current pane upward)
:resize-pane -L (向左拉伸/Resizes the current pane left)
:resize-pane -R (向右拉伸/Resizes the current pane right)
:resize-pane -D 10 (向下拉伸10个单位/Resizes the current pane down by 10 cells)
:resize-pane -U 10 (向上拉伸10个单位/Resizes the current pane upward by 10 cells)
:resize-pane -L 10 (向左拉伸10个单位/Resizes the current pane left by 10 cells)
:resize-pane -R 10 (向右拉伸10个单位/Resizes the current pane right by 10 cells)