-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
27 lines (21 loc) · 1.07 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
# Prefix(Ctrl-b)をCtrl-jに変更する
unbind-key C-b
set-option -g prefix C-j
bind-key C-j send-prefix
# ペインの開始番号を 0 から 1 に変更する
set-option -g base-index 1
# マウスでウィンドウ・ペインの切り替えやリサイズを可能にする
set-option -g mouse on # tmux 2.1以降
# set-option -g mode-mouse on # tmux 2.0以前
# set-option -g mouse-select-window on # tmux 2.0以前
# set-option -g mouse-select-pane on # tmux 2.0以前
# set-option -g mouse-resize-pane on # tmux 2.0以前
# マウスホイールでヒストリではなくスクロールできるようにする
set -g mouse on
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# ステータスバーの背景色を変更する
#set-option -g status-bg "colour255"
# コピーモードのキー操作をviライクにする
set-window-option -g mode-keys vi
# コピーした際にWindowsのクリップボードにも転送する (yum install -y xsel)
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -bi"