-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_tmux.conf
More file actions
174 lines (140 loc) · 2.86 KB
/
dot_tmux.conf
File metadata and controls
174 lines (140 loc) · 2.86 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
# Source theme
source-file "${HOME}/.tmux-themepack/powerline/default/blue.tmuxtheme"
set-option -g focus-events on
# Escape time
set-option -sg escape-time 10
set -g history-limit 131072
# Message duration
set -g display-time 4000
setw -g xterm-keys on
setw -g mode-keys vi
setw -q -g utf8 on
##BINDS
unbind [
bind Enter copy-mode
unbind p
bind p paste-buffer
unbind r
unbind x
unbind k
unbind h
unbind v
unbind t
unbind s
bind r source ~/.tmux.conf
unbind -n f1
unbind -n f2
unbind -n f3
unbind -n f4
unbind -n f5
unbind -n f6
unbind -n f7
unbind -n f8
unbind -n f9
unbind -n f10
unbind -n f11
unbind -n f12
bind-key k kill-window
bind-key x kill-pane
bind-key s setw synchronize-panes
bind-key N last-window
# Renumber windows on close
set -g renumber-windows yes
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g bell-action none
# The modes
setw -g mode-style bold
# The statusbar
set -g status-position bottom
set -g status-right ''
# Escape time
set-option -sg escape-time 10
set -g history-limit 131072
# Message duration
set -g display-time 4000
setw -g xterm-keys on
setw -g mode-keys vi
setw -q -g utf8 on
##BINDS
unbind [
bind Enter copy-mode
unbind p
bind p paste-buffer
unbind r
unbind x
unbind k
unbind h
unbind v
unbind t
unbind s
bind r source ~/.tmux.conf
unbind -n f1
unbind -n f2
unbind -n f3
unbind -n f4
unbind -n f5
unbind -n f6
unbind -n f7
unbind -n f8
unbind -n f9
unbind -n f10
unbind -n f11
unbind -n f12
bind-key k kill-window
bind-key x kill-pane
bind-key s setw synchronize-panes
bind-key N last-window
# Renumber windows on close
set -g renumber-windows yes
# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g bell-action none
# The modes
setw -g mode-style bold
set -g status-right ''
# The statusbar
set -g status-position bottom
set -g message-style bold
# Mouse
#
bind-key m setw mouse on
bind-key M setw mouse off
# Move panes
bind-key -n M-up swap-pane -U
bind-key -n M-down swap-pane -D
# Move between tabs
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Resize the current pane using Alt + direction
bind -n M-k resize-pane -U 5
bind -n M-j resize-pane -D 5
bind -n M-h resize-pane -L 5
bind -n M-l resize-pane -R 5
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
# The messages
set -g message-style bold
# Mouse
#
bind-key m setw mouse on
bind-key M setw mouse off
# Move panes
bind-key -n M-up swap-pane -U
bind-key -n M-down swap-pane -D
# Move between tabs
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Resize the current pane using Alt + direction
bind -n M-k resize-pane -U 5
bind -n M-j resize-pane -D 5
bind -n M-h resize-pane -L 5
bind -n M-l resize-pane -R 5