-
Notifications
You must be signed in to change notification settings - Fork 12
/
tmux-reset.tmux
334 lines (332 loc) · 18.7 KB
/
tmux-reset.tmux
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
#!/usr/bin/env bash
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
tmux set-option -ug backspace
tmux set-option -ug buffer-limit
tmux set-option -ug default-terminal
tmux set-option -ug escape-time
tmux set-option -ug exit-empty
tmux set-option -ug exit-unattached
tmux set-option -ug focus-events
tmux set-option -ug history-file
tmux set-option -ug message-limit
tmux set-option -ug set-clipboard
tmux set-option -ug activity-action
tmux set-option -ug assume-paste-time
tmux set-option -ug base-index
tmux set-option -ug bell-action
tmux set-option -ug default-command
tmux set-option -ug default-size
tmux set-option -ug destroy-unattached
tmux set-option -ug detach-on-destroy
tmux set-option -ug display-panes-active-colour
tmux set-option -ug display-panes-colour
tmux set-option -ug display-panes-time
tmux set-option -ug display-time
tmux set-option -ug history-limit
tmux set-option -ug key-table
tmux set-option -ug lock-after-time
tmux set-option -ug lock-command
tmux set-option -ug message-command-style
tmux set-option -ug message-style
tmux set-option -ug mouse
tmux set-option -ug prefix
tmux set-option -ug prefix2
tmux set-option -ug renumber-windows
tmux set-option -ug repeat-time
tmux set-option -ug set-titles
tmux set-option -ug set-titles-string
tmux set-option -ug silence-action
tmux set-option -ug status
tmux set-option -ug status-interval
tmux set-option -ug status-justify
tmux set-option -ug status-keys
tmux set-option -ug status-left
tmux set-option -ug status-left-length
tmux set-option -ug status-left-style
tmux set-option -ug status-position
tmux set-option -ug status-right
tmux set-option -ug status-right-length
tmux set-option -ug status-right-style
tmux set-option -ug status-style
tmux set-option -ug visual-activity
tmux set-option -ug visual-bell
tmux set-option -ug visual-silence
tmux set-option -ug word-separators
tmux set-option -ug aggressive-resize
tmux set-option -ug automatic-rename
tmux set-option -ug automatic-rename-format
tmux set-option -ug clock-mode-colour
tmux set-option -ug clock-mode-style
tmux set-option -ug main-pane-height
tmux set-option -ug main-pane-width
tmux set-option -ug mode-keys
tmux set-option -ug mode-style
tmux set-option -ug monitor-activity
tmux set-option -ug monitor-bell
tmux set-option -ug monitor-silence
tmux set-option -ug other-pane-height
tmux set-option -ug other-pane-width
tmux set-option -ug pane-active-border-style
tmux set-option -ug pane-base-index
tmux set-option -ug pane-border-format
tmux set-option -ug pane-border-status
tmux set-option -ug pane-border-style
tmux set-option -ug synchronize-panes
tmux set-option -ug window-status-activity-style
tmux set-option -ug window-status-bell-style
tmux set-option -ug window-status-current-format
tmux set-option -ug window-status-current-style
tmux set-option -ug window-status-format
tmux set-option -ug window-status-last-style
tmux set-option -ug window-status-separator
tmux set-option -ug window-status-style
tmux set-option -ug window-size
tmux set-option -ug wrap-search
tmux set-option -ug xterm-keys
tmux set-option -ug allow-rename
tmux set-option -ug alternate-screen
tmux set-option -ug remain-on-exit
tmux set-option -ug window-active-style
tmux set-option -ug window-style
tmux unbind-key -a
tmux bind C-b send-prefix
tmux bind C-o rotate-window
tmux bind C-z suspend-client
tmux bind Space next-layout
tmux bind ! break-pane
tmux bind '"' split-window
tmux bind '#' list-buffers
tmux bind '$' command-prompt -I'#S' "rename-session -- '%%'"
tmux bind % split-window -h
tmux bind & confirm-before -p"kill-window #W? (y/n)" kill-window
tmux bind "'" command-prompt -pindex "select-window -t ':%%'"
tmux bind ( switch-client -p
tmux bind ) switch-client -n
tmux bind , command-prompt -I'#W' "rename-window -- '%%'"
tmux bind - delete-buffer
tmux bind . command-prompt "move-window -t '%%'"
tmux bind 0 select-window -t:=0
tmux bind 1 select-window -t:=1
tmux bind 2 select-window -t:=2
tmux bind 3 select-window -t:=3
tmux bind 4 select-window -t:=4
tmux bind 5 select-window -t:=5
tmux bind 6 select-window -t:=6
tmux bind 7 select-window -t:=7
tmux bind 8 select-window -t:=8
tmux bind 9 select-window -t:=9
tmux bind : command-prompt
tmux bind "\;" last-pane
tmux bind = choose-buffer -Z
tmux bind ? list-keys
tmux bind D choose-client -Z
tmux bind E select-layout -E
tmux bind L switch-client -l
tmux bind M select-pane -M
tmux bind [ copy-mode
tmux bind ] paste-buffer
tmux bind c new-window
tmux bind d detach-client
tmux bind f command-prompt "find-window -Z -- '%%'"
tmux bind i display-message
tmux bind l last-window
tmux bind m select-pane -m
tmux bind n next-window
tmux bind o select-pane -t:.+
tmux bind p previous-window
tmux bind q display-panes
tmux bind r refresh-client
tmux bind s choose-tree -Zs
tmux bind t clock-mode
tmux bind w choose-tree -Zw
tmux bind x confirm-before -p"kill-pane #P? (y/n)" kill-pane
tmux bind z resize-pane -Z
tmux bind '{' swap-pane -U
tmux bind '}' swap-pane -D
tmux bind '~' show-messages
tmux bind PPage copy-mode -u
tmux bind -r Up select-pane -U
tmux bind -r Down select-pane -D
tmux bind -r Left select-pane -L
tmux bind -r Right select-pane -R
tmux bind M-1 select-layout even-horizontal
tmux bind M-2 select-layout even-vertical
tmux bind M-3 select-layout main-horizontal
tmux bind M-4 select-layout main-vertical
tmux bind M-5 select-layout tiled
tmux bind M-n next-window -a
tmux bind M-o rotate-window -D
tmux bind M-p previous-window -a
tmux bind -r S-Up refresh-client -U 10
tmux bind -r S-Down refresh-client -D 10
tmux bind -r S-Left refresh-client -L 10
tmux bind -r S-Right refresh-client -R 10
tmux bind -r DC refresh-client -c
tmux bind -r M-Up resize-pane -U 5
tmux bind -r M-Down resize-pane -D 5
tmux bind -r M-Left resize-pane -L 5
tmux bind -r M-Right resize-pane -R 5
tmux bind -r C-Up resize-pane -U
tmux bind -r C-Down resize-pane -D
tmux bind -r C-Left resize-pane -L
tmux bind -r C-Right resize-pane -R
tmux bind -n MouseDown1Pane select-pane -t=\; send-keys -M
tmux bind -n MouseDrag1Border resize-pane -M
tmux bind -n MouseDown1Status select-window -t=
tmux bind -n WheelDownStatus next-window
tmux bind -n WheelUpStatus previous-window
tmux bind -n MouseDrag1Pane if -Ft= '#{mouse_any_flag}' 'if -Ft= "#{pane_in_mode}" "copy-mode -M" "send-keys -M"' 'copy-mode -M'
tmux bind -n WheelUpPane if -Ft= '#{mouse_any_flag}' 'send-keys -M' 'if -Ft= "#{pane_in_mode}" "send-keys -M" "copy-mode -et="'
tmux bind -n MouseDown3StatusRight display-menu -t= -xM -yS -T "#[align=centre]#{client_name}" 'Detach' 'd' {detach-client} 'Detach & Kill' 'X' {detach-client -P} 'Detach Others' 'o' {detach-client -a} '' 'Lock' 'l' {lock-client}
tmux bind -n MouseDown3StatusLeft display-menu -t= -xM -yS -T "#[align=centre]#{session_name}" 'Next' 'n' {switch-client -n} 'Previous' 'p' {switch-client -p} '' 'Renumber' 'N' {move-window -r} 'Rename' 'n' {command-prompt -I "#S" "rename-session -- '%%'"} '' 'New Session' 's' {new-session} 'New Window' 'w' {new-window}
tmux bind -n MouseDown3Status display-menu -t= -xW -yS -T "#[align=centre]#{window_index}:#{window_name}" 'Swap Left' 'l' {swap-window -t:-1} 'Swap Right' 'r' {swap-window -t:+1} '#{?pane_marked_set,,-}Swap Marked' 's' {swap-window} '' 'Kill' 'X' {kill-window} 'Respawn' 'R' {respawn-window -k} '#{?pane_marked,Unmark,Mark}' 'm' {select-pane -m} 'Rename' 'n' {command-prompt -I "#W" "rename-window -- '%%'"} '' 'New After' 'w' {new-window -a} 'New At End' 'W' {new-window}
tmux bind < display-menu -xW -yS -T "#[align=centre]#{window_index}:#{window_name}" 'Swap Left' 'l' {swap-window -t:-1} 'Swap Right' 'r' {swap-window -t:+1} '#{?pane_marked_set,,-}Swap Marked' 's' {swap-window} '' 'Kill' 'X' {kill-window} 'Respawn' 'R' {respawn-window -k} '#{?pane_marked,Unmark,Mark}' 'm' {select-pane -m} 'Rename' 'n' {command-prompt -I "#W" "rename-window -- '%%'"} '' 'New After' 'w' {new-window -a} 'New At End' 'W' {new-window}
tmux bind -n MouseDown3Pane if -Ft= '#{||:#{mouse_any_flag},#{pane_in_mode}}' 'select-pane -t=; send-keys -M' {display-menu -t= -xM -yM -T "#[align=centre]#{pane_index} (#{pane_id})" '#{?mouse_word,Search For #[underscore]#{=/9/...:mouse_word},}' 'C-r' {copy-mode -t=; send -Xt= search-backward "#{q:mouse_word}"} '#{?mouse_word,Type #[underscore]#{=/9/...:mouse_word},}' 'C-y' {send-keys -l -- "#{q:mouse_word}"} '#{?mouse_word,Copy #[underscore]#{=/9/...:mouse_word},}' 'c' {set-buffer -- "#{q:mouse_word}"} '#{?mouse_line,Copy Line,}' 'l' {set-buffer -- "#{q:mouse_line}"} '' 'Horizontal Split' 'h' {split-window -h} 'Vertical Split' 'v' {split-window -v} '' 'Swap Up' 'u' {swap-pane -U} 'Swap Down' 'd' {swap-pane -D} '#{?pane_marked_set,,-}Swap Marked' 's' {swap-pane} '' 'Kill' 'X' {kill-pane} 'Respawn' 'R' {respawn-pane -k} '#{?pane_marked,Unmark,Mark}' 'm' {select-pane -m} '#{?window_zoomed_flag,Unzoom,Zoom}' 'z' {resize-pane -Z}}
tmux bind -n M-MouseDown3Pane display-menu -t= -xM -yM -T "#[align=centre]#{pane_index} (#{pane_id})" '#{?mouse_word,Search For #[underscore]#{=/9/...:mouse_word},}' 'C-r' {copy-mode -t=; send -Xt= search-backward "#{q:mouse_word}"} '#{?mouse_word,Type #[underscore]#{=/9/...:mouse_word},}' 'C-y' {send-keys -l -- "#{q:mouse_word}"} '#{?mouse_word,Copy #[underscore]#{=/9/...:mouse_word},}' 'c' {set-buffer -- "#{q:mouse_word}"} '#{?mouse_line,Copy Line,}' 'l' {set-buffer -- "#{q:mouse_line}"} '' 'Horizontal Split' 'h' {split-window -h} 'Vertical Split' 'v' {split-window -v} '' 'Swap Up' 'u' {swap-pane -U} 'Swap Down' 'd' {swap-pane -D} '#{?pane_marked_set,,-}Swap Marked' 's' {swap-pane} '' 'Kill' 'X' {kill-pane} 'Respawn' 'R' {respawn-pane -k} '#{?pane_marked,Unmark,Mark}' 'm' {select-pane -m} '#{?window_zoomed_flag,Unzoom,Zoom}' 'z' {resize-pane -Z}
tmux bind > display-menu -xP -yP -T "#[align=centre]#{pane_index} (#{pane_id})" '#{?mouse_word,Search For #[underscore]#{=/9/...:mouse_word},}' 'C-r' {copy-mode -t=; send -Xt= search-backward "#{q:mouse_word}"} '#{?mouse_word,Type #[underscore]#{=/9/...:mouse_word},}' 'C-y' {send-keys -l -- "#{q:mouse_word}"} '#{?mouse_word,Copy #[underscore]#{=/9/...:mouse_word},}' 'c' {set-buffer -- "#{q:mouse_word}"} '#{?mouse_line,Copy Line,}' 'l' {set-buffer -- "#{q:mouse_line}"} '' 'Horizontal Split' 'h' {split-window -h} 'Vertical Split' 'v' {split-window -v} '' 'Swap Up' 'u' {swap-pane -U} 'Swap Down' 'd' {swap-pane -D} '#{?pane_marked_set,,-}Swap Marked' 's' {swap-pane} '' 'Kill' 'X' {kill-pane} 'Respawn' 'R' {respawn-pane -k} '#{?pane_marked,Unmark,Mark}' 'm' {select-pane -m} '#{?window_zoomed_flag,Unzoom,Zoom}' 'z' {resize-pane -Z}
tmux bind -Tcopy-mode C-Space send -X begin-selection
tmux bind -Tcopy-mode C-a send -X start-of-line
tmux bind -Tcopy-mode C-c send -X cancel
tmux bind -Tcopy-mode C-e send -X end-of-line
tmux bind -Tcopy-mode C-f send -X cursor-right
tmux bind -Tcopy-mode C-b send -X cursor-left
tmux bind -Tcopy-mode C-g send -X clear-selection
tmux bind -Tcopy-mode C-k send -X copy-end-of-line
tmux bind -Tcopy-mode C-n send -X cursor-down
tmux bind -Tcopy-mode C-p send -X cursor-up
tmux bind -Tcopy-mode C-r command-prompt -ip'(search up)' -I'#{pane_search_string}' 'send -X search-backward-incremental "%%%"'
tmux bind -Tcopy-mode C-s command-prompt -ip'(search down)' -I'#{pane_search_string}' 'send -X search-forward-incremental "%%%"'
tmux bind -Tcopy-mode C-v send -X page-down
tmux bind -Tcopy-mode C-w send -X copy-selection-and-cancel
tmux bind -Tcopy-mode Escape send -X cancel
tmux bind -Tcopy-mode Space send -X page-down
tmux bind -Tcopy-mode , send -X jump-reverse
tmux bind -Tcopy-mode "\;" send -X jump-again
tmux bind -Tcopy-mode F command-prompt -1p'(jump backward)' 'send -X jump-backward "%%%"'
tmux bind -Tcopy-mode N send -X search-reverse
tmux bind -Tcopy-mode R send -X rectangle-toggle
tmux bind -Tcopy-mode T command-prompt -1p'(jump to backward)' 'send -X jump-to-backward "%%%"'
tmux bind -Tcopy-mode f command-prompt -1p'(jump forward)' 'send -X jump-forward "%%%"'
tmux bind -Tcopy-mode g command-prompt -p'(goto line)' 'send -X goto-line "%%%"'
tmux bind -Tcopy-mode n send -X search-again
tmux bind -Tcopy-mode q send -X cancel
tmux bind -Tcopy-mode t command-prompt -1p'(jump to forward)' 'send -X jump-to-forward "%%%"'
tmux bind -Tcopy-mode Home send -X start-of-line
tmux bind -Tcopy-mode End send -X end-of-line
tmux bind -Tcopy-mode MouseDown1Pane select-pane
tmux bind -Tcopy-mode MouseDrag1Pane select-pane\; send -X begin-selection
tmux bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-and-cancel
tmux bind -Tcopy-mode WheelUpPane select-pane\; send -N5 -X scroll-up
tmux bind -Tcopy-mode WheelDownPane select-pane\; send -N5 -X scroll-down
tmux bind -Tcopy-mode DoubleClick1Pane select-pane\; send -X select-word
tmux bind -Tcopy-mode TripleClick1Pane select-pane\; send -X select-line
tmux bind -Tcopy-mode NPage send -X page-down
tmux bind -Tcopy-mode PPage send -X page-up
tmux bind -Tcopy-mode Up send -X cursor-up
tmux bind -Tcopy-mode Down send -X cursor-down
tmux bind -Tcopy-mode Left send -X cursor-left
tmux bind -Tcopy-mode Right send -X cursor-right
tmux bind -Tcopy-mode M-1 command-prompt -Np'(repeat)' -I1 'send -N "%%%"'
tmux bind -Tcopy-mode M-2 command-prompt -Np'(repeat)' -I2 'send -N "%%%"'
tmux bind -Tcopy-mode M-3 command-prompt -Np'(repeat)' -I3 'send -N "%%%"'
tmux bind -Tcopy-mode M-4 command-prompt -Np'(repeat)' -I4 'send -N "%%%"'
tmux bind -Tcopy-mode M-5 command-prompt -Np'(repeat)' -I5 'send -N "%%%"'
tmux bind -Tcopy-mode M-6 command-prompt -Np'(repeat)' -I6 'send -N "%%%"'
tmux bind -Tcopy-mode M-7 command-prompt -Np'(repeat)' -I7 'send -N "%%%"'
tmux bind -Tcopy-mode M-8 command-prompt -Np'(repeat)' -I8 'send -N "%%%"'
tmux bind -Tcopy-mode M-9 command-prompt -Np'(repeat)' -I9 'send -N "%%%"'
tmux bind -Tcopy-mode M-< send -X history-top
tmux bind -Tcopy-mode M-> send -X history-bottom
tmux bind -Tcopy-mode M-R send -X top-line
tmux bind -Tcopy-mode M-b send -X previous-word
tmux bind -Tcopy-mode C-M-b send -X previous-matching-bracket
tmux bind -Tcopy-mode M-f send -X next-word-end
tmux bind -Tcopy-mode C-M-f send -X next-matching-bracket
tmux bind -Tcopy-mode M-m send -X back-to-indentation
tmux bind -Tcopy-mode M-r send -X middle-line
tmux bind -Tcopy-mode M-v send -X page-up
tmux bind -Tcopy-mode M-w send -X copy-selection-and-cancel
tmux bind -Tcopy-mode 'M-{' send -X previous-paragraph
tmux bind -Tcopy-mode 'M-}' send -X next-paragraph
tmux bind -Tcopy-mode M-Up send -X halfpage-up
tmux bind -Tcopy-mode M-Down send -X halfpage-down
tmux bind -Tcopy-mode C-Up send -X scroll-up
tmux bind -Tcopy-mode C-Down send -X scroll-down
tmux bind -Tcopy-mode-vi C-c send -X cancel
tmux bind -Tcopy-mode-vi C-d send -X halfpage-down
tmux bind -Tcopy-mode-vi C-e send -X scroll-down
tmux bind -Tcopy-mode-vi C-b send -X page-up
tmux bind -Tcopy-mode-vi C-f send -X page-down
tmux bind -Tcopy-mode-vi C-h send -X cursor-left
tmux bind -Tcopy-mode-vi C-j send -X copy-selection-and-cancel
tmux bind -Tcopy-mode-vi Enter send -X copy-selection-and-cancel
tmux bind -Tcopy-mode-vi C-u send -X halfpage-up
tmux bind -Tcopy-mode-vi C-v send -X rectangle-toggle
tmux bind -Tcopy-mode-vi C-y send -X scroll-up
tmux bind -Tcopy-mode-vi Escape send -X clear-selection
tmux bind -Tcopy-mode-vi Space send -X begin-selection
tmux bind -Tcopy-mode-vi '$' send -X end-of-line
tmux bind -Tcopy-mode-vi , send -X jump-reverse
tmux bind -Tcopy-mode-vi / command-prompt -p'(search down)' 'send -X search-forward "%%%"'
tmux bind -Tcopy-mode-vi 0 send -X start-of-line
tmux bind -Tcopy-mode-vi 1 command-prompt -Np'(repeat)' -I1 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 2 command-prompt -Np'(repeat)' -I2 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 3 command-prompt -Np'(repeat)' -I3 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 4 command-prompt -Np'(repeat)' -I4 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 5 command-prompt -Np'(repeat)' -I5 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 6 command-prompt -Np'(repeat)' -I6 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 7 command-prompt -Np'(repeat)' -I7 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 8 command-prompt -Np'(repeat)' -I8 'send -N "%%%"'
tmux bind -Tcopy-mode-vi 9 command-prompt -Np'(repeat)' -I9 'send -N "%%%"'
tmux bind -Tcopy-mode-vi : command-prompt -p'(goto line)' 'send -X goto-line "%%%"'
tmux bind -Tcopy-mode-vi "\;" send -X jump-again
tmux bind -Tcopy-mode-vi ? command-prompt -p'(search up)' 'send -X search-backward "%%%"'
tmux bind -Tcopy-mode-vi A send -X append-selection-and-cancel
tmux bind -Tcopy-mode-vi B send -X previous-space
tmux bind -Tcopy-mode-vi D send -X copy-end-of-line
tmux bind -Tcopy-mode-vi E send -X next-space-end
tmux bind -Tcopy-mode-vi F command-prompt -1p'(jump backward)' 'send -X jump-backward "%%%"'
tmux bind -Tcopy-mode-vi G send -X history-bottom
tmux bind -Tcopy-mode-vi H send -X top-line
tmux bind -Tcopy-mode-vi J send -X scroll-down
tmux bind -Tcopy-mode-vi K send -X scroll-up
tmux bind -Tcopy-mode-vi L send -X bottom-line
tmux bind -Tcopy-mode-vi M send -X middle-line
tmux bind -Tcopy-mode-vi N send -X search-reverse
tmux bind -Tcopy-mode-vi T command-prompt -1p'(jump to backward)' 'send -X jump-to-backward "%%%"'
tmux bind -Tcopy-mode-vi V send -X select-line
tmux bind -Tcopy-mode-vi W send -X next-space
tmux bind -Tcopy-mode-vi ^ send -X back-to-indentation
tmux bind -Tcopy-mode-vi b send -X previous-word
tmux bind -Tcopy-mode-vi e send -X next-word-end
tmux bind -Tcopy-mode-vi f command-prompt -1p'(jump forward)' 'send -X jump-forward "%%%"'
tmux bind -Tcopy-mode-vi g send -X history-top
tmux bind -Tcopy-mode-vi h send -X cursor-left
tmux bind -Tcopy-mode-vi j send -X cursor-down
tmux bind -Tcopy-mode-vi k send -X cursor-up
tmux bind -Tcopy-mode-vi l send -X cursor-right
tmux bind -Tcopy-mode-vi n send -X search-again
tmux bind -Tcopy-mode-vi o send -X other-end
tmux bind -Tcopy-mode-vi q send -X cancel
tmux bind -Tcopy-mode-vi t command-prompt -1p'(jump to forward)' 'send -X jump-to-forward "%%%"'
tmux bind -Tcopy-mode-vi v send -X rectangle-toggle
tmux bind -Tcopy-mode-vi w send -X next-word
tmux bind -Tcopy-mode-vi '{' send -X previous-paragraph
tmux bind -Tcopy-mode-vi '}' send -X next-paragraph
tmux bind -Tcopy-mode-vi % send -X next-matching-bracket
tmux bind -Tcopy-mode-vi MouseDown1Pane select-pane
tmux bind -Tcopy-mode-vi MouseDrag1Pane select-pane\; send -X begin-selection
tmux bind -Tcopy-mode-vi MouseDragEnd1Pane send -X copy-selection-and-cancel
tmux bind -Tcopy-mode-vi WheelUpPane select-pane\; send -N5 -X scroll-up
tmux bind -Tcopy-mode-vi WheelDownPane select-pane\; send -N5 -X scroll-down
tmux bind -Tcopy-mode-vi DoubleClick1Pane select-pane\; send -X select-word
tmux bind -Tcopy-mode-vi TripleClick1Pane select-pane\; send -X select-line
tmux bind -Tcopy-mode-vi BSpace send -X cursor-left
tmux bind -Tcopy-mode-vi NPage send -X page-down
tmux bind -Tcopy-mode-vi PPage send -X page-up
tmux bind -Tcopy-mode-vi Up send -X cursor-up
tmux bind -Tcopy-mode-vi Down send -X cursor-down
tmux bind -Tcopy-mode-vi Left send -X cursor-left
tmux bind -Tcopy-mode-vi Right send -X cursor-right
tmux bind -Tcopy-mode-vi C-Up send -X scroll-up
tmux bind -Tcopy-mode-vi C-Down send -X scroll-down