tmux

設定(~/.tmux.conf)

# 標準のC-bはアンバインド
unbind-key C-b

# 代わりにC-jを使う
set-option -g prefix C-j
bind-key C-j send-prefix

# Windowのインデックスを1始まり
# C-j 0 でのWindow選択がやりにくいので
set -g base-index 1

# 分割
bind | split-window -h
bind - split-window -v

# Paneの移動
bind h select-pane -L
bind n select-pane -D
bind p select-pane -U
bind f select-pane -R

# Windowの移動
bind -r C-h select-window -t :-
bind -r C-f select-window -t :+

# ステータスの色変更
set -g status-fg black
set -g status-bg white

set-window-option -g window-status-current-fg brightred
set-window-option -g window-status-current-bg default

#set-option -g default-terminal "screen-256color"
set-option -g default-terminal "xterm-256color"

#set-window-option -g mode-mouse on