ユーザ用ツール

サイト用ツール


serverapps:tmux

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
serverapps:tmux [2021/07/29 12:56]
hayashi [参考]
serverapps:tmux [2023/08/20 20:17] (現在)
hayashi [複数のペインに対して同時にコマンドを実行]
行 79: 行 79:
  
   < Prefix > -> x   < Prefix > -> x
 +==== サイズ変更 ====
 +  < Prefix > -> Space ペインレイアウトの変更((思い通りになるまで連打))
 +
 +
 ==== 複数のペインに対して同時にコマンドを実行 ==== ==== 複数のペインに対して同時にコマンドを実行 ====
 ON ON
行 84: 行 88:
 OFF OFF
   < Prefix > -> :set-window-option synchronize-panes off -> Enter   < Prefix > -> :set-window-option synchronize-panes off -> Enter
 +
 +< Prefix > -> a にバインド
 +.tmux.conf
 +
 +  bind a setw synchronize-panes \; display "synchronize-panes #{?pane_synchronized,on,off}"
  
 === 参考 === === 参考 ===
行 97: 行 106:
   q   q
      
 +===== 日本語 =====
 +日本語であるべきところがアンダースコア(_)になっていて表示されないときは、tmuxをutf8モードで起動
 +
 +  $ tmux -u 
  
 ===== 参考 ===== ===== 参考 =====
行 105: 行 118:
   * [[https://mynavi-agent.jp/it/geekroid/2017/03/-11tmux.html]]   * [[https://mynavi-agent.jp/it/geekroid/2017/03/-11tmux.html]]
  
-tmux-plugins/tmux-resurrectはtmuxのセッションを保存・復元するためのtmux plugin.\\ 
-Tmux Resurrectプラグインを使用するとtmux環境を保存できるので、PCを再起動しても環境を簡単に復元できるようになる。\\ 
-tmux-continuumはTmux Resurrectをサポートするプラグインで自動で保存/復元を可能にする。よってこれらはセットで使うのがよさそう。 
serverapps/tmux.1627530968.txt.gz · 最終更新: 2021/07/29 12:56 by hayashi