serverapps:tmux:plugin
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
serverapps:tmux:plugin [2022/12/07 08:19] – [Tmux Resurrect] hayashi | serverapps:tmux:plugin [2023/10/09 13:30] (現在) – [tcsh@FreeBSD] hayashi | ||
---|---|---|---|
行 44: | 行 44: | ||
set -g @plugin ' | set -g @plugin ' | ||
- | **prefix + I((大文字I))** で plugin 読み込み | + | ===== plugin 読み込み ===== |
+ | |||
+ | **prefix + I((大文字I(アイ) | ||
+ | ===== 起動 ===== | ||
+ | |||
なお、**bash**に依存していますので、それ以外のshellを使用している場合には以下のような感じで起動 | なお、**bash**に依存していますので、それ以外のshellを使用している場合には以下のような感じで起動 | ||
行 50: | 行 55: | ||
bash -c "tmux new -s Work" | bash -c "tmux new -s Work" | ||
- | ==== Key bindings ==== | + | ===== Key bindings |
prefix + Ctrl-s - save | prefix + Ctrl-s - save | ||
prefix + Ctrl-r - restore | prefix + Ctrl-r - restore | ||
+ | |||
+ | 以下を設定すると | ||
+ | set -g @resurrect-save ' | ||
+ | set -g @resurrect-restore ' | ||
+ | Key bindingは | ||
+ | prefix + Shift-s - save | ||
+ | prefix + Shift-r - restore | ||
===== tmux-continuum ===== | ===== tmux-continuum ===== | ||
行 63: | 行 75: | ||
set -g @plugin ' | set -g @plugin ' | ||
set -g @plugin ' | set -g @plugin ' | ||
+ | |||
+ | ==== tcsh@FreeBSD ==== | ||
+ | tmux-continuumもbashやmacosに依存しているため、ほかの環境だと動作が怪しい | ||
+ | で、取り急ぎだがLogin時に自動でtmuxの起動とrestoreを行うように設定してみた | ||
+ | |||
+ | <file config ~/ | ||
+ | ps -ax | grep tmux | grep -v grep | wc -l > /dev/null || bash -c "tmux new -d ~/ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
===== 参考 ===== | ===== 参考 ===== |
serverapps/tmux/plugin.1670401170.txt.gz · 最終更新: 2022/12/07 08:19 by hayashi