Skip to content

Instantly share code, notes, and snippets.

@memememomo
Last active June 6, 2016 06:03
Show Gist options
  • Save memememomo/dac950854265ccfc0fe9 to your computer and use it in GitHub Desktop.
Save memememomo/dac950854265ccfc0fe9 to your computer and use it in GitHub Desktop.
.tmux.conf
# prefixキーをC-tに変更する
set-option -g prefix C-t
# C-bのキーバインドを解除する
unbind C-b
# マウス
set-option -g mouse on
# ウィンドウ履歴の最大行数
set-option -g history-limit 5000
# 設定ファイルをリロードする
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# | でペインを縦に分割する
bind | split-window -h
# - でペインを横に分割する
bind - split-window -v
# ウィンドウリストの色を設定する
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim
# アクティブなウィンドウを目立たせる
setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright
# ペインボーダーの色を設定する
set -g pane-border-fg green
set -g pane-border-bg black
# アクティブなペインを目立たせる
set -g pane-active-border-fg white
set -g pane-active-border-bg yellow
# コマンドラインの色を設定する
set -g message-fg white
set -g message-bg black
set -g message-attr bright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment