Skip to content

Instantly share code, notes, and snippets.

@pipopotamasu
Created August 2, 2018 13:28
Show Gist options
  • Save pipopotamasu/37a8a43f3fcc12d2887f2f05e0bb1a53 to your computer and use it in GitHub Desktop.
Save pipopotamasu/37a8a43f3fcc12d2887f2f05e0bb1a53 to your computer and use it in GitHub Desktop.
# prefixをCtrl-zに変更(デフォルトはC-b)
set -g prefix C-z
bind C-z send-prefix
# UTF-8対応
setw -g utf8 on
set -g status-utf8 on
# Esc入力時の待ち時間をキャンセル
set-option -s escape-time 0
# アクティブウィンドウを目立たせる
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
# アクティブペインを目立たせる
set -g pane-active-border-fg white
set -g pane-active-border-bg yellow
# rで設定読み込み
bind r source-file ~/.tmux.conf \; display "Configuration Reloaded!"
## ステータスバーを下部に表示する
set -g status-position bottom
# マウス操作を有効にする
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window on
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment