]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/keys.conf
awesome: fix battery_widget
[dotfiles.git] / qutebrowser / keys.conf
1 # vim: ft=conf
2 #
3 # In this config file, qutebrowser's key bindings are configured.
4 # The format looks like this:
5 #
6 # [keymode]
7 #
8 # command
9 # keychain
10 # keychain2
11 # ...
12 #
13 # All blank lines and lines starting with '#' are ignored.
14 # Inline-comments are not permitted.
15 #
16 # keymode is a comma separated list of modes in which the key binding should be
17 # active. If keymode starts with !, the key binding is active in all modes
18 # except the listed modes.
19 #
20 # For special keys (can't be part of a keychain), enclose them in `<`...`>`.
21 # For modifiers, you can use either `-` or `+` as delimiters, and these names:
22 #
23 # * Control: `Control`, `Ctrl`
24 # * Meta: `Meta`, `Windows`, `Mod4`
25 # * Alt: `Alt`, `Mod1`
26 # * Shift: `Shift`
27 #
28 # For simple keys (no `<>`-signs), a capital letter means the key is pressed
29 # with Shift. For special keys (with `<>`-signs), you need to explicitly add
30 # `Shift-` to match a key pressed with shift. You can bind multiple commands
31 # by separating them with `;;`.
32
33 [!normal]
34
35 leave-mode
36 <Escape>
37 <Ctrl-[>
38
39 [normal]
40 # Keybindings for normal mode.
41
42 set-cmd-text -s :open
43 o
44
45 set-cmd-text :open {url}
46 go
47
48 set-cmd-text -s :open -t
49 O
50
51 set-cmd-text :open -t {url}
52 gO
53
54 set-cmd-text -s :open -b
55 xo
56
57 set-cmd-text :open -b {url}
58 xO
59
60 set-cmd-text -s :open -w
61 wo
62
63 set-cmd-text :open -w {url}
64 wO
65
66 open -t
67 <Ctrl-T>
68
69 tab-close
70 d
71 <Ctrl-W>
72
73 tab-close -o
74 D
75
76 tab-focus
77 T
78
79 tab-move
80 gm
81
82 tab-move -
83 gj
84
85 tab-move +
86 gk
87
88 tab-next
89 K
90 gt
91
92 tab-prev
93 J
94 gT
95
96 tab-clone
97 gC
98
99 reload
100 r
101
102 reload -f
103 R
104
105 back
106 H
107 <Backspace>
108
109 back -t
110 th
111
112 back -w
113 wh
114
115 forward
116 L
117
118 forward -t
119 tl
120
121 forward -w
122 wl
123
124 fullscreen
125 <F11>
126
127 hint
128 f
129
130 hint all tab
131 F
132
133 hint all window
134 wf
135
136 hint all tab-bg
137 ;b
138
139 hint all hover
140 ;h
141
142 hint images
143 ;i
144
145 hint images tab
146 ;I
147
148 hint images tab-bg
149 .i
150
151 hint links fill ":open {hint-url}"
152 ;o
153
154 hint links fill ":open -t {hint-url}"
155 ;O
156
157 hint links fill ":open -b {hint-url}"
158 .o
159
160 hint links yank
161 ;y
162
163 hint links yank-primary
164 ;Y
165
166 hint links rapid
167 ;r
168
169 hint links rapid-win
170 ;R
171
172 hint links download
173 ;d
174
175 scroll -50 0
176 h
177
178 scroll 0 50
179 j
180
181 scroll 0 -50
182 k
183
184 scroll 50 0
185 l
186
187 undo
188 u
189 <Ctrl-Shift-T>
190
191 scroll-perc 0
192 gg
193
194 scroll-perc
195 G
196
197 search-next
198 n
199
200 search-prev
201 N
202
203 enter-mode insert
204 i
205
206 yank
207 yy
208
209 yank -s
210 yY
211
212 yank -t
213 yt
214
215 yank -ts
216 yT
217
218 paste
219 pp
220
221 paste -s
222 pP
223
224 paste -t
225 Pp
226
227 paste -ts
228 PP
229
230 paste -w
231 wp
232
233 paste -ws
234 wP
235
236 quickmark-save
237 m
238
239 set-cmd-text -s :quickmark-load
240 b
241
242 set-cmd-text -s :quickmark-load -t
243 B
244
245 set-cmd-text :quickmark-load -w
246 wb
247
248 save
249 sf
250
251 set-cmd-text -s :set
252 ss
253
254 set-cmd-text -s :set -t
255 sl
256
257 set-cmd-text -s :set keybind
258 sk
259
260 zoom-out
261 -
262
263 zoom-in
264 +
265
266 zoom
267 =
268
269 navigate prev
270 [[
271
272 navigate next
273 ]]
274
275 navigate prev -t
276 {{
277
278 navigate next -t
279 }}
280
281 navigate up
282 gu
283
284 navigate up -t
285 gU
286
287 navigate increment
288 <Ctrl-A>
289
290 navigate decrement
291 <Ctrl-X>
292
293 inspector
294 wi
295
296 download
297 gd
298
299 download-cancel
300 ad
301
302 view-source
303 gf
304
305 tab-focus last
306 <Ctrl-Tab>
307
308 enter-mode passthrough
309 <Ctrl-V>
310
311 quit
312 <Ctrl-Q>
313
314 scroll-page 0 1
315 <Ctrl-F>
316
317 scroll-page 0 -1
318 <Ctrl-B>
319
320 scroll-page 0 0.5
321 <Ctrl-D>
322
323 scroll-page 0 -0.5
324 <Ctrl-U>
325
326 tab-focus 1
327 <Alt-1>
328
329 tab-focus 2
330 <Alt-2>
331
332 tab-focus 3
333 <Alt-3>
334
335 tab-focus 4
336 <Alt-4>
337
338 tab-focus 5
339 <Alt-5>
340
341 tab-focus 6
342 <Alt-6>
343
344 tab-focus 7
345 <Alt-7>
346
347 tab-focus 8
348 <Alt-8>
349
350 tab-focus 9
351 <Alt-9>
352
353 home
354 <Ctrl-h>
355
356 stop
357 <Ctrl-s>
358
359 print
360 <Ctrl-Alt-p>
361
362 open qute:settings
363 Ss
364
365 [insert]
366 # Keybindings for insert mode.
367 # Since normal keypresses are passed through, only special keys are
368 # supported in this mode.
369 # Useful hidden commands to map in this section:
370 # * `open-editor`: Open a texteditor with the focused field.
371
372 open-editor
373 <Ctrl-E>
374
375 [hint]
376 # Keybindings for hint mode.
377 # Since normal keypresses are passed through, only special keys are
378 # supported in this mode.
379 # Useful hidden commands to map in this section:
380 # * `follow-hint`: Follow the currently selected hint.
381
382 follow-hint
383 <Return>
384
385 [command]
386 # Keybindings for command mode.
387 # Since normal keypresses are passed through, only special keys are
388 # supported in this mode.
389 # Useful hidden commands to map in this section:
390 # * `command-history-prev`: Switch to previous command in history.
391 # * `command-history-next`: Switch to next command in history.
392 # * `completion-item-prev`: Select previous item in completion.
393 # * `completion-item-next`: Select next item in completion.
394 # * `command-accept`: Execute the command currently in the commandline.
395
396 command-history-prev
397 <Ctrl-P>
398
399 command-history-next
400 <Ctrl-N>
401
402 completion-item-prev
403 <Shift-Tab>
404 <Up>
405
406 completion-item-next
407 <Tab>
408 <Down>
409
410 command-accept
411 <Return>
412 <Ctrl-J>
413 <Shift-Return>
414
415 [prompt]
416 # Keybindings for prompts in the status line.
417 # You can bind normal keys in this mode, but they will be only active
418 # when a yes/no-prompt is asked. For other prompt modes, you can only
419 # bind special keys.
420 # Useful hidden commands to map in this section:
421 # * `prompt-accept`: Confirm the entered value.
422 # * `prompt-yes`: Answer yes to a yes/no question.
423 # * `prompt-no`: Answer no to a yes/no question.
424
425 prompt-accept
426 <Return>
427 <Ctrl-J>
428 <Shift-Return>
429
430 prompt-yes
431 y
432
433 prompt-no
434 n
435
436 [command,prompt]
437
438 rl-backward-char
439 <Ctrl-B>
440
441 rl-forward-char
442 <Ctrl-F>
443
444 rl-backward-word
445 <Alt-B>
446
447 rl-forward-word
448 <Alt-F>
449
450 rl-beginning-of-line
451 <Ctrl-A>
452
453 rl-end-of-line
454 <Ctrl-E>
455
456 rl-unix-line-discard
457 <Ctrl-U>
458
459 rl-kill-line
460 <Ctrl-K>
461
462 rl-kill-word
463 <Alt-D>
464
465 rl-unix-word-rubout
466 <Ctrl-W>
467
468 rl-yank
469 <Ctrl-Y>
470
471 rl-delete-char
472 <Ctrl-?>
473
474 rl-backward-delete-char
475 <Ctrl-H>
476