0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

tmux

0
Last updated at Posted at 2026-06-20

ペインのレイアウトを均等に並べる

  • Ctrl+a Space
ショートカット レイアウト名 説明
Ctrl+a → Space (トグル切り替え) 以下の5つのレイアウトを順番に切り替えます。
Ctrl+a → Alt + 1 even-horizontal 全てのペインを**縦割り(左右)**に均等整列
Ctrl+a → Alt + 2 even-vertical 全てのペインを**横割り(上下)**に均等整列
Ctrl+a → Alt + 3 main-horizontal 上部にメインペイン、下部にその他のペインを並べる
Ctrl+a → Alt + 4 main-vertical 左側にメインペイン、右側にその他のペインを並べる
Ctrl+a → Alt + 5 tiled 全てのペインを**格子状(タイル状)**に均等整列

指定したウィンドウ(id:2)を現在のウィンドウ(id:1)にペイン分割して並べる

  • コマンドモード(Ctrl+a :)
  • 以下のコマンドを発行
join-pane -s :2

現在開いているペインをそのまま「新しい別のウィンドウ」へ移動

Ctrl+a → !

デタッチ

Ctrl+a → d

最後のセッションにアタッチ

Ctrl+a → a

現在のペインを最大化・元に戻す(トグル動作)

Ctrl+a z

最後のセッションにアタッチ

tmux a

最後のセッションにアタッチ(明示)

tmux a -t :

セッションを選んでアタッチ

tmux a ; choose-tree

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?