-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.example.yaml
280 lines (280 loc) · 6.46 KB
/
config.example.yaml
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
# yaml-language-server: $schema=config.schema.yaml
command_alias_start_index: 200
keybindings:
# root_table: C-Space
prefix_table: Space
title:
style: align=centre,bold
prefix: tmux
prefix_style: fg=green,align=centre,bold
position:
x: R
y: P
custom_variables:
- name: log_info
value: "#[fg=green,italics] [info]#[default]#[italics]"
macros:
- name: reload-config
commands:
- display "#{log_info} Loading config... "
- source-file $HOME/.tmux.conf
- display -p "\n\n... Press ENTER to continue"
- name: restart-pane
commands:
- display "#{log_info} Restarting pane"
- "respawnp -k -c #{pane_current_path}"
items:
- name: Run
key: space
command: command-prompt
- name: Last window
key: tab
command: last-window
- name: Last pane
key: "`"
command: last-pane
- name: Copy
key: c
menu:
- name: Copy
key: c
command: copy-mode
- name: List buffers
key: "#"
command: list-buffers
- separator: true
- name: +Windows
key: w
menu:
- name: Last
key: tab
command: last-window
- name: Choose
key: w
command: choose-tree -Zw
- name: Previous
key: p
command: previous-window
- name: Next
key: n
command: next-window
- name: New
key: c
command: "neww -c #{pane_current_path}"
- separator: true
- name: +Layout
key: l
menu:
- name: Next
key: l
command: nextl
transient: true
- name: Tiled
key: t
command: selectnl tiled
- name: Horizontal
key: h
command: selectl even-horizontal
- name: Vertical
key: v
command: selectl even-vertical
- name: Horizontal main
key: H
command: selectl main-horizontal
- name: Vertical main
key: V
command: selectl main-vertical
- name: Split horizontal
key: /
command: "splitw -h -c #{pane_current_path}"
- name: Split vertical
key: "-"
command: "splitw -v -c #{pane_current_path}"
- name: Rotate
key: o
command: rotatew
transient: true
- name: Rotate reverse
key: O
command: rotatew -D
transient: true
- separator: true
- name: Rename
key: R
command: command-prompt -I "#W" "renamew -- \"%%\""
- name: Kill
key: X
command: 'confirm -p "Kill window #W? (y/n)" killw'
- name: +Panes
key: p
menu:
- name: Last
key: tab
command: lastp
- name: Choose
key: p
command: displayp -d 0
- separator: true
- name: Left
key: h
command: selectp -L
- name: Down
key: j
command: selectp -D
- name: Up
key: k
command: selectp -U
- name: Right
key: l
command: selectp -R
- separator: true
- name: Zoom
key: z
command: resizep -Z
- name: +Resize
key: r
menu:
- name: Left
key: h
command: resizep -L
transient: true
- name: Down
key: j
command: resizep -D
transient: true
- name: Up
key: k
command: resizep -U
transient: true
- name: Right
key: l
command: resizep -R
transient: true
- name: Left more
key: H
command: resizep -L 10
transient: true
- name: Down more
key: J
command: resizep -D 10
transient: true
- name: Up more
key: K
command: resizep -U 10
transient: true
- name: Right more
key: L
command: resizep -R 10
transient: true
- name: Swap left
key: H
command: swapp -t "{left-of}"
- name: Swap down
key: J
command: swapp -t "{down-of}"
- name: Swap up
key: K
command: swapp -t "{up-of}"
- name: Swap right
key: L
command: swapp -t "{right-of}"
- name: Break
key: "!"
command: break-pane
- separator: true
- name: Mark
key: m
command: selectp -m
- name: Unmark
key: M
command: selectp -M
- name: Capture
key: C
command: capture-pane
- name: Respawn pane
key: R
macro: restart-pane
- name: Kill
key: X
command: 'confirm -p "Kill pane #P? (y/n)" killp'
- name: +Buffers
key: b
menu:
- name: Choose
key: b
command: choose-buffer -Z
- name: List
key: l
command: lsb
- name: Paste
key: p
command: pasteb
- name: +Sessions
key: s
menu:
- name: Choose
key: s
command: choose-tree -Zs
- name: New
key: N
command: new
- name: Rename
key: r
command: rename
- name: +Client
key: C
menu:
- name: Choose
key: c
command: choose-client -Z
- name: Last
key: l
command: switchc -l
- name: Previous
key: p
command: switchc -p
- name: Next
key: n
command: switchc -n
- separator: true
- name: Refresh
key: R
command: refresh
- name: +Plugins
key: P
menu:
- name: Install
key: i
command:
run-shell $TMUX_PLUGIN_MANAGER_PATH/tpm/bindings/install_plugins
- name: Update
key: u
command:
run-shell $TMUX_PLUGIN_MANAGER_PATH/tpm/bindings/update_plugins
- name: Clean
key: c
command:
run-shell $TMUX_PLUGIN_MANAGER_PATH/tpm/bindings/clean_plugins
- name: Detach
key: D
command: detach
- name: Suspend
key: Z
command: suspendc
- separator: true
- name: Reload config
key: r
macro: reload-config
- name: Customize
key: ","
command: customize-mode -Z
- separator: true
- name: Time
key: T
command: clock-mode
- name: Show messages
key: "~"
command: show-messages
- name: +Keys
key: "?"
command: list-keys -N