文書の過去の版を表示しています。
< prefix > のdefault:ctrl+b
# pkg install tmux
tmux tmux new [-s session名]
tmux a
tmux a [-t session名]
< Prefix > + d
tmux rename -t (旧session名) (新session名) < Prefix > + $
tmux kill-session tmux kill-session -t (session名) tmux kill-server # 全部kill
< Prefix > + s
< Prefix > -> c
< Prefix > -> ウィンドウ番号
< Prefix > -> w
< Prefix > -> &
< Prefix > -> ,
< Prefix > -> "
< Prefix > -> %
< Prefix > -> o or < Prefix > -> q < Prefix > -> q -> インジケータ番号
現在いるペインが消える
< Prefix > -> x
ON
< Prefix > -> :set-window-option synchronize-panes on -> Enter
OFF
< Prefix > -> :set-window-option synchronize-panes off -> Enter
< Prefix > -> [
これで、スクロールモード
PgUp、PgDnまたは矢印で移動
抜ける時は
q
tmux-plugins/tmux-resurrectはtmuxのセッションを保存・復元するためのtmux plugin.
Tmux Resurrectプラグインを使用するとtmux環境を保存できるので、PCを再起動しても環境を簡単に復元できるようになる。
tmux-continuumはTmux Resurrectをサポートするプラグインで自動で保存/復元を可能にする。よってこれらはセットで使うのがよさそう。