-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
46 lines (35 loc) · 1.13 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
36
37
38
39
40
41
42
43
44
45
46
set -g default-terminal "screen-256color"
set-option -g prefix C-q
unbind-key C-b
set -g base-index 1
setw -g pane-base-index 1
bind s split-window -h
bind v split-window -v
unbind l
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g status-fg green
set -g status-bg "colour236"
set -g status-left-length 40
set-option -g status-left "[%Y/%m/%d %H:%M:%S] Session:#S >"
set -g status-position top
set -g status-right ''
setw -g window-status-current-fg green
setw -g window-status-current-bg "colour023"
setw -g window-status-current-attr bright
set -g pane-active-border-fg white
set -g pane-active-border-bg green
# mouse setting
# set-window-option -g mode-mouse on
# set-option -g mouse-select-window on
# set-option -g mouse-select-pane on
# set-option -g mouse-resize-pane on
set-option -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e'"
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
bind r source-file ~/.tmux.conf \; display "Reloaded!"