/usr/share/doc/tmux/example_tmux.conf
# Change the prefix key to @ set -g prefix @ unbind C-b bind @ send-prefix
| key after prefix | command | details |
|---|---|---|
| " | 画面を上下に分割 | |
| % | 画面を左右に分割 | |
| & | 現在の window を kill する | |
| ' | window を選択するプロンプトを表示 | |
| ( | attaach されている前の session へ移動 | |
| ) | attaach されている次の session へ移動 | |
| d | 現在のクライアントを detach する | |
| D | detach するクライアントを選択する | |
| [ | copy mode の開始 | |
| ] | 最後にコピーしたテキストを paste | |
$ tmux
| command | description | details |
|---|---|---|
| new-session -s <session-name> | セッション名として <session-name> を指定して起動 | |
| list-sessions | セッションの一覧を表示 | screen の -ls に相当 |
| list-clients | セッションを attach している端末の一覧を表示 | |