-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
36 lines (28 loc) · 1.08 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# prefix+rで設定のリロード
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# ペインの移動
bind -n C-o select-pane -t :.+
bind -n C-h select-pane -L
bind -n C-j select-pane -D
bind -n C-k select-pane -U
bind -n C-l select-pane -R
# ペインのリサイズ
bind -r H resize-pane -L 2
bind -r J resize-pane -D 2
bind -r K resize-pane -U 2
bind -r L resize-pane -R 2
bind -n C-z resize-pane -Z
# ウィンドウの切り替え
bind -n S-left previous-window
bind -n S-right next-window
# マウス操作を有効にする
bind -r m set-option -g mouse on \; display "Mouse On"
bind -r M set-option -g mouse off \; display "Mouse Off"
# 256色モードを有効にする
set-option -g default-terminal screen-256color
set -g terminal-overrides 'xterm:colors=256'
# ステータスラインの色を変更
setw -g status-style fg=colour255,bg=colour21
setw -g window-status-current-format '#[fg=colour255]#{?client_prefix,#[bg=colour76],}#I:#W'
setw -g window-status-format '#[fg=colour244]#I:#W'
set-option -g status-right "#[fg=colour248]#H#[fg=colour255]|%Y-%m-%d %H:%M#[default]"