Skip to content

Instantly share code, notes, and snippets.

@kaishuu0123
Created February 13, 2025 02:11
Show Gist options
  • Save kaishuu0123/c73795fe8bd646b2ecef35c3e76d4653 to your computer and use it in GitHub Desktop.
Save kaishuu0123/c73795fe8bd646b2ecef35c3e76d4653 to your computer and use it in GitHub Desktop.
2025 .tmux.conf
# 256 色端末を利用
set -g default-terminal "xterm-256color"
# コピーモードを設定する
## viのキーバインドを使用する
setw -g mode-keys vi
# prefix key
## prefix key は C-b のまま
## 2 回押しで C-b を送る
bind-key C-b send-prefix
# キーストロークのディレイを減らす
set -sg escape-time 1
# 設定ファイルをリロードする
bind r source-file ~/.tmux.conf \; display "Reloaded!"
@kaishuu0123
Copy link
Author

kaishuu0123 commented Feb 13, 2025

:pipe-pane 'cat > %Y%m%d-tmux.log' でログ出力
:pipe-pane 再実行で終了

copy-mode の v toggle 状態を status に反映する方法はまだ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment