-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
32 lines (26 loc) · 947 Bytes
/
.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
# 背景色を設定
set -g default-terminal "screen-256color"
set-option -sa terminal-overrides ',xterm-256color:RGB' # tmuxを起動していない時のzshでの$TERMの値を指定
# move pane with vim key-binding
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# マウス移動を可能にする
set -g mouse on
bind-key -T edit-mode-vi WheelUpPane send-keys -X scroll-up
bind-key -T edit-mode-vi WheelDownPane send-keys -X scroll-down
# vi like copy mode
set-window-option -g mode-keys vi
# Plugin Manager
# ↓参考
# https://github.com/tmux-plugins/tpm
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'wfxr/tmux-power'
# setting for each plugin
# tmux-power
set -g @tmux_power_theme 'sky'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'