-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
67 lines (42 loc) · 1.55 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
set-option -g default-shell $SHELL
set-option -g default-terminal screen-256color
set -g terminal-overrides 'xterm:colors=256'
set -g prefix C-q
unbind C-b
set-option -g status-position top
set-option -g status-left-length 90
set-option -g status-right-length 90
set-option -g status-left '#H:[#P]'
set-option -g status-right '#(wifi) #(battery --tmux) [%Y-%m-%d(%a) %H:%M]'
set-option -g status-interval 1
set-option -g status-justify centre
# set-option -g status-bg "colour238"
# set-option -g status-fg "colour255"
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
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 | split-window -h
bind - split-window -v
set-option -g base-index 1
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'"
setw -g mode-keys vi
bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi V send -X select-line
bind -T copy-mode-vi C-v send -X rectangle-toggle
bind -T copy-mode-vi y send -X copy-selection
bind -T copy-mode-vi Y send -X copy-line
bind-key C-p paste-buffer
setw -g window-status-style fg=white,bg=default,dim
setw -g window-status-current-style fg=cyan,bg=default,dim
set -g pane-border-style 'fg=#444444'
set -g pane-active-border-style 'fg=#444444,bg=#444444'
set -g message-style fg=white,bg=black,dim
set -g status-fg white
set -g status-bg '#444444'
set -g mode-style "fg=default,bg=default,reverse"