Skip to content

Instantly share code, notes, and snippets.

@wshino
Created March 20, 2014 05:56
Show Gist options
  • Save wshino/9658050 to your computer and use it in GitHub Desktop.
Save wshino/9658050 to your computer and use it in GitHub Desktop.
ごめんこれだれのだっけ
➜ ~ cat .tmux.conf
set-option -g prefix C-t
bind t send-prefix
bind r source-file ~/.tmux.conf \; display-message "Reload Config!!"
# ----------------- #
# ウィンドウの振る舞い #
# ----------------- #
## ウィンドウ番号1から開始する
set-option -g base-index 1
# マウスでスクロールできるようにする
set-window-option -g mode-mouse on
# これを有効にすると、MacでCommand+Cなどができなくなるが、
# Optionを押しながら範囲選択すると、コピーできる。
# ウィンドウ(タブ)を閉じた時、ウインドウ番号を付番をしなおす
set-option -g renumber-windows on
# ------------------- #
# ステータスバーの見た目 #
# ------------------- #
# 色コード: http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
# 256色サポート
set-option -g default-terminal "xterm"
# ステータスバーの色
set -g status-fg colour253
set -g status-bg colour237
# 非アクティブなウィンドウの色
set-window-option -g window-status-fg default
set-window-option -g window-status-bg default
# アクティブなウィンドウの色
set-window-option -g window-status-current-fg colour16
set-window-option -g window-status-current-bg colour178
# ステータスバーの位置
set-option -g status-position bottom
# ステータスバー左隅に出すもの
set -g status-left '#[fg=colour32, bold]#S'
# ステータスバー右隅に出すもの
set -g status-right ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment