「tmux」- 常用设置及快捷键

  CREATED BY JENKINSBOT

配置文件

~/.tmux.conf:默认的tmux配置文件。
/etc/tmux.conf:系统级的配置文件。

Restore tmux session after reboot

https://superuser.com/questions/440015/restore-tmux-session-after-reboot

强制断开其他用户

How do I disconnect all other users in tmux?

Ctrl + B -> Shift + D
Ctrl + B -> : -> detach

调整 Pane 顺序

keyboard shortcuts – How does one swap two panes in Tmux? – Super User

向左移动:Ctrl + B => {
向右移动:Ctrl + B => }

注意事项,这里的“向左”、“向右”是指数字上的移动,而不是在界面中 Pane 位置的上线左右。