ユーザ用ツール

サイト用ツール


serverapps:tmux:plugin

差分

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

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

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
serverapps:tmux:plugin [2023/02/20 21:33]
hayashi [Key bindings]
serverapps:tmux:plugin [2023/10/09 22:30] (現在)
hayashi [tcsh@FreeBSD]
行 44: 行 44:
   set -g @plugin 'tmux-plugins/tmux-resurrect'   set -g @plugin 'tmux-plugins/tmux-resurrect'
  
-**prefix + I((大文字I))** で plugin 読み込み+===== plugin 読み込み ===== 
 + 
 +**prefix + I((大文字I(アイ) ))** で plugin 読み込みます 
 +===== 起動 ===== 
 + 
  
 なお、**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
行 70: 行 75:
   set -g @plugin 'tmux-plugins/tmux-resurrect'   set -g @plugin 'tmux-plugins/tmux-resurrect'
   set -g @plugin 'tmux-plugins/tmux-continuum'   set -g @plugin 'tmux-plugins/tmux-continuum'
 +
 +==== tcsh@FreeBSD ====
 +tmux-continuumもbashやmacosに依存しているため、ほかの環境だと動作が怪しい
 +で、取り急ぎだがLogin時に自動でtmuxの起動とrestoreを行うように設定してみた
 +
 +<file config ~/.cshrc>
 +ps -ax | grep tmux | grep -v grep | wc -l > /dev/null || bash -c "tmux new -d ~/.tmux/plugins/tmux-resurrect/scripts/restore.sh"
 +</file>
 +
 +
 +
  
 ===== 参考 ===== ===== 参考 =====
serverapps/tmux/plugin.1676896390.txt.gz · 最終更新: 2023/02/20 21:33 by hayashi