-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_tmux.conf
More file actions
135 lines (115 loc) · 4.33 KB
/
_tmux.conf
File metadata and controls
135 lines (115 loc) · 4.33 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# vim: filetype=tmux
unbind C-b
set -g prefix C-a
bind-key -n C-NPAGE next-window
bind-key -n C-PPAGE previous-window
bind-key m link-window -s cmus:0 -t 9
bind-key M unlink-window -t 9
bind-key e set-window-option synchronize-pane on
bind-key E set-window-option synchronize-pane off
# Vim motion for pane
unbind l
bind-key -r h select-pane -L
bind-key -r j select-pane -D
bind-key -r k select-pane -U
bind-key -r l select-pane -R
bind-key C-l last-window
set -s escape-time 0
# lock command
set-option -g lock-command vlock
# All kind of nice options
# set-option -g bell-action any
# set-option -g default-terminal screen
# set-option -g display-panes-colour red
set-option -g history-limit 10000
# set-option -g message-bg red
# set-option -g message-fg white
# set-option -g mouse-select-pane off
# set-option -g pane-active-border-bg default
# set-option -g pane-active-border-fg red
# set-option -g pane-border-bg default
# set-option -g pane-border-fg cyan
# set-option -g repeat-time 500
# set-option -g visual-activity off
# set-option -g visual-bell on
set-option -g set-titles on
# set-option -g set-titles-string ' #I-#W '
# set-option -g terminal-overrides 'xterm*:smcup@:rmcup@'
# set-option -g base-index 1
# set-option -g default-path ""
# statusbar
# set-option -g status-utf8 on
# set-option -g status-interval 5
# set-option -g status-justify left
# set-option -g status-left-length 15
# set-option -g status-left ' #h |'
# set-option -g status-right ' | %Y-%m-%d %H:%M #[default]'
# set-option -g status-position bottom
set -g default-terminal "tmux-terminfo"
# default statusbar colors
## set-option -g status-fg white
## set-option -g status-bg blue
## set-option -g status-attr bright
set-option -g status-keys vi
## # default window title colors
## set-window-option -g window-status-fg black
## set-window-option -g window-status-bg blue
## set-window-option -g window-status-attr dim
##
## # active window title colors
## set-window-option -g window-status-current-fg white
## set-window-option -g window-status-current-bg blue
## set-window-option -g window-status-attr dim
## # set-window-option -g window-status-current-attr italics,reverse
## #
## set-window-option -g mode-fg white
## set-window-option -g mode-bg red
## set-window-option -g mode-attr bright
####### COLORS ########
# default statusbar colors
set-option -g status-bg colour235 #base02
set-option -g status-fg colour136 #yellow
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg colour244 #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg colour166 #orange
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg colour20 #base02
set-option -g pane-active-border-fg colour38 #base01
# message text
set-option -g message-bg colour235 #base02
set-option -g message-fg colour166 #orange
# pane number display
set-option -g display-panes-active-colour colour33 #blue
set-option -g display-panes-colour colour166 #orange
# clock
set-window-option -g clock-mode-colour colour64 #green
##### COLORS END ######
# Window options
set-window-option -g utf8 on
# set-window-option -g clock-mode-colour blue
set-window-option -g clock-mode-style 24
set-window-option -g monitor-activity on
set-window-option -g xterm-keys on
# set-window-option -g automatic-rename on
# set-window-option -g aggressive-resize off
#
set-window-option -g window-status-format ' #I-#W#F '
set-window-option -g window-status-current-format ' #I-#W#F '
# Copy mode
set-window-option -g mode-keys vi
set-window-option -g mode-mouse off
# set-option buffer-limit 10
# unbind-key M-NPage ; bind-key -n M-NPage copy-mode
# unbind-key M-PPage ; bind-key -n M-PPage copy-mode
# unbind-key M-i ; bind-key -n M-i paste-buffer
# unbind-key -t vi-copy M-{ ; bind-key -t vi-copy M-{ begin-selection
# unbind-key -t vi-copy M-} ; bind-key -t vi-copy M-} copy-selection
# unbind-key -t vi-copy Home ; bind-key -t vi-copy Home start-of-line
# unbind-key -t vi-copy End ; bind-key -t vi-copy End end-of-line
# unbind-key -t vi-copy b ; bind-key -t vi-copy b rectangle-toggle