-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
79 lines (54 loc) · 1.84 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
68
69
70
71
72
73
74
75
76
77
78
79
set -g prefix C-a
set -g default-terminal "screen-256color"
set -g status-utf8 on
unbind C-b
set -g base-index 1
setw -g pane-base-index 1
set -sg escape-time 1
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind C-a send-prefix
unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
unbind v
bind v choose-buffer
unbind Up
bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp
unbind Down
bind Down last-window \; swap-pane -s tmp.1 \; kill-window -t tmp
bind | split-window -h
bind - split-window -v
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind-key -r J resize-pane -D 5
bind-key -r K resize-pane -U 5
bind-key -r H resize-pane -L 5
bind-key -r L resize-pane -R 5
bind-key -r M-j resize-pane -D
bind-key -r M-k resize-pane -U
bind-key -r M-h resize-pane -L
bind-key -r M-l resize-pane -R
setw -g mode-mouse off
setw -g mode-keys vi
set-option -g status-keys vi
set -g status-bg white
set -g status-justify 'left'
set -g pane-border-fg white
set -g pane-active-border-fg red
set -g message-fg white
set -g message-bg red
set -g message-attr bright
setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-current-format '#[fg=colour231,bg=colour31,bold] #I ~ #W #[fg=colour31,bg=white,nobold,nounderscore,noitalics]'
set -g status-left "#[fg=colour234][#P]#S "
set -g status-right '#[fg=colour234,bg=white,nobold,nounderscore,noitalics]#[fg=colour250,bg=colour234] %a#[fg=colour247,bg=colour234] #[fg=colour247,bg=colour 234] %b %d %R #[fg=colour252,bg=colour234,nobold,nounderscore,noitalics]#[fg=red,bg=colour234]#[fg=white,bg=red]Tianjing' # Or Lvliang
setw -g window-status-separator ' '
setw -g monitor-activity on
set -g visual-activity on