github.com Tmux Resurrectプラグインを使用するとtmux環境を保存できるので、PCを再起動しても環境を簡単に復元できるようになる。 github.com tmux-continuumはTmux Resurrectをサポートするプラグインで自動で保存/復元を可能にする。よってこれらはセットで使うのがよさそう。 tpmでインストール tpm(Tmux Plugin Manager)を使用している場合は、.tmux.confに下記行を追加してprefix + Iキーでインストール。 set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' Tmux Resurrect インストールが完了すると下記キーバインドで簡単に環境の保存/復元ができるようになるの
![tmuxメモ : Tmux Resurrectとtmux-continuumで環境の保存/復元 - もた日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/1304c0046ccb8f3cae681f11983030aecf5466b4/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fw%2Fwonder-wall%2F20160923%2F20160923235112.png)