]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/keys.conf
qutebrowser: update config
[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 clear-keychain ;; leave-mode
36 <Escape>
37 <Ctrl-[>
38
39 [normal]
40 # Keybindings for normal mode.
41
42 clear-keychain ;; search
43 <Escape>
44
45 set-cmd-text -s :open
46 o
47
48 set-cmd-text :open {url}
49 go
50
51 set-cmd-text -s :open -t
52 O
53
54 set-cmd-text :open -t {url}
55 gO
56
57 set-cmd-text -s :open -b
58 xo
59
60 set-cmd-text :open -b {url}
61 xO
62
63 set-cmd-text -s :open -w
64 wo
65
66 set-cmd-text :open -w {url}
67 wO
68
69 open -t
70 ga
71 <Ctrl-T>
72
73 tab-close
74 d
75 <Ctrl-W>
76
77 tab-close -o
78 D
79
80 tab-focus
81 K
82 gt
83
84 tab-move
85 gm
86
87 tab-move -
88 gl
89
90 tab-move +
91 gr
92
93 tab-prev
94 J
95 gT
96
97 tab-clone
98 gC
99
100 reload
101 r
102
103 reload -f
104 R
105
106 back
107 H
108 <Backspace>
109
110 back -t
111 th
112
113 back -w
114 wh
115
116 forward
117 L
118
119 forward -t
120 tl
121
122 forward -w
123 wl
124
125 fullscreen
126 <F11>
127
128 hint
129 f
130
131 hint all tab
132 F
133
134 hint all window
135 wf
136
137 hint all tab-bg
138 ;b
139
140 hint all tab-fg
141 ;f
142
143 hint all hover
144 ;h
145
146 hint images
147 ;i
148
149 hint images tab
150 ;I
151
152 hint images tab-bg
153 .i
154
155 hint links fill ":open {hint-url}"
156 ;o
157
158 hint links fill ":open -t {hint-url}"
159 ;O
160
161 hint links fill ":open -b {hint-url}"
162 .o
163
164 hint links yank
165 ;y
166
167 hint links yank-primary
168 ;Y
169
170 hint --rapid links tab-bg
171 ;r
172
173 hint --rapid links window
174 ;R
175
176 hint links download
177 ;d
178
179 scroll left
180 h
181
182 scroll down
183 j
184
185 scroll up
186 k
187
188 scroll right
189 l
190
191 undo
192 u
193 <Ctrl-Shift-T>
194
195 scroll-perc 0
196 gg
197
198 scroll-perc
199 G
200
201 search-next
202 n
203
204 search-prev
205 N
206
207 enter-mode insert
208 i
209
210 enter-mode caret
211 v
212
213 yank
214 yy
215
216 yank -s
217 yY
218
219 yank -t
220 yt
221
222 yank -ts
223 yT
224
225 yank -d
226 yd
227
228 yank -ds
229 yD
230
231 paste
232 pp
233
234 paste -s
235 pP
236
237 paste -t
238 Pp
239
240 paste -ts
241 PP
242
243 paste -w
244 wp
245
246 paste -ws
247 wP
248
249 quickmark-save
250 m
251
252 set-cmd-text -s :quickmark-load
253 b
254
255 set-cmd-text -s :quickmark-load -t
256 B
257
258 set-cmd-text -s :quickmark-load -w
259 wb
260
261 bookmark-add
262 M
263
264 set-cmd-text -s :bookmark-load
265 gb
266
267 set-cmd-text -s :bookmark-load -t
268 gB
269
270 set-cmd-text -s :bookmark-load -w
271 wB
272
273 save
274 sf
275
276 set-cmd-text -s :set
277 ss
278
279 set-cmd-text -s :set -t
280 sl
281
282 set-cmd-text -s :set keybind
283 sk
284
285 zoom-out
286 -
287
288 zoom-in
289 +
290
291 zoom
292 =
293
294 navigate prev
295 [[
296
297 navigate next
298 ]]
299
300 navigate prev -t
301 {{
302
303 navigate next -t
304 }}
305
306 navigate up
307 gu
308
309 navigate up -t
310 gU
311
312 navigate increment
313 <Ctrl-A>
314
315 navigate decrement
316 <Ctrl-X>
317
318 inspector
319 wi
320
321 download
322 gd
323
324 download-cancel
325 ad
326
327 download-clear
328 cd
329
330 view-source
331 gf
332
333 tab-focus last
334 <Ctrl-Tab>
335
336 enter-mode passthrough
337 <Ctrl-V>
338
339 quit
340 <Ctrl-Q>
341
342 scroll-page 0 1
343 <Ctrl-F>
344
345 scroll-page 0 -1
346 <Ctrl-B>
347
348 scroll-page 0 0.5
349 <Ctrl-D>
350
351 scroll-page 0 -0.5
352 <Ctrl-U>
353
354 tab-focus 1
355 <Alt-1>
356
357 tab-focus 2
358 <Alt-2>
359
360 tab-focus 3
361 <Alt-3>
362
363 tab-focus 4
364 <Alt-4>
365
366 tab-focus 5
367 <Alt-5>
368
369 tab-focus 6
370 <Alt-6>
371
372 tab-focus 7
373 <Alt-7>
374
375 tab-focus 8
376 <Alt-8>
377
378 tab-focus 9
379 <Alt-9>
380
381 home
382 <Ctrl-h>
383
384 stop
385 <Ctrl-s>
386
387 print
388 <Ctrl-Alt-p>
389
390 open qute:settings
391 Ss
392
393 follow-selected
394 <Return>
395 <Ctrl-M>
396 <Ctrl-J>
397 <Shift-Return>
398 <Enter>
399 <Shift-Enter>
400
401 follow-selected -t
402 <Ctrl-Return>
403 <Ctrl-Enter>
404
405 tab-only
406 co
407
408 [insert]
409 # Keybindings for insert mode.
410 # Since normal keypresses are passed through, only special keys are
411 # supported in this mode.
412 # Useful hidden commands to map in this section:
413 # * `open-editor`: Open a texteditor with the focused field.
414
415 open-editor
416 <Ctrl-E>
417
418 [hint]
419 # Keybindings for hint mode.
420 # Since normal keypresses are passed through, only special keys are
421 # supported in this mode.
422 # Useful hidden commands to map in this section:
423 # * `follow-hint`: Follow the currently selected hint.
424
425 follow-hint
426 <Return>
427 <Ctrl-M>
428 <Ctrl-J>
429 <Shift-Return>
430 <Enter>
431 <Shift-Enter>
432
433 hint --rapid links tab-bg
434 <Ctrl-R>
435
436 hint links
437 <Ctrl-F>
438
439 hint all tab-bg
440 <Ctrl-B>
441
442 [command]
443 # Keybindings for command mode.
444 # Since normal keypresses are passed through, only special keys are
445 # supported in this mode.
446 # Useful hidden commands to map in this section:
447 # * `command-history-prev`: Switch to previous command in history.
448 # * `command-history-next`: Switch to next command in history.
449 # * `completion-item-prev`: Select previous item in completion.
450 # * `completion-item-next`: Select next item in completion.
451 # * `command-accept`: Execute the command currently in the commandline.
452
453 command-history-prev
454 <Ctrl-P>
455
456 command-history-next
457 <Ctrl-N>
458
459 completion-item-prev
460 <Shift-Tab>
461 <Up>
462
463 completion-item-next
464 <Tab>
465 <Down>
466
467 completion-item-del
468 <Ctrl-D>
469
470 command-accept
471 <Return>
472 <Ctrl-M>
473 <Ctrl-J>
474 <Shift-Return>
475 <Enter>
476 <Shift-Enter>
477
478 [prompt]
479 # Keybindings for prompts in the status line.
480 # You can bind normal keys in this mode, but they will be only active
481 # when a yes/no-prompt is asked. For other prompt modes, you can only
482 # bind special keys.
483 # Useful hidden commands to map in this section:
484 # * `prompt-accept`: Confirm the entered value.
485 # * `prompt-yes`: Answer yes to a yes/no question.
486 # * `prompt-no`: Answer no to a yes/no question.
487
488 prompt-accept
489 <Return>
490 <Ctrl-M>
491 <Ctrl-J>
492 <Shift-Return>
493 <Enter>
494 <Shift-Enter>
495
496 prompt-yes
497 y
498
499 prompt-no
500 n
501
502 [command,prompt]
503
504 rl-backward-char
505 <Ctrl-B>
506
507 rl-forward-char
508 <Ctrl-F>
509
510 rl-backward-word
511 <Alt-B>
512
513 rl-forward-word
514 <Alt-F>
515
516 rl-beginning-of-line
517 <Ctrl-A>
518
519 rl-end-of-line
520 <Ctrl-E>
521
522 rl-unix-line-discard
523 <Ctrl-U>
524
525 rl-kill-line
526 <Ctrl-K>
527
528 rl-kill-word
529 <Alt-D>
530
531 rl-unix-word-rubout
532 <Ctrl-W>
533 <Alt-Backspace>
534
535 rl-yank
536 <Ctrl-Y>
537
538 rl-delete-char
539 <Ctrl-?>
540
541 rl-backward-delete-char
542 <Ctrl-H>
543
544 [caret]
545
546 toggle-selection
547 v
548 <Space>
549
550 drop-selection
551 <Ctrl-Space>
552
553 enter-mode normal
554 c
555
556 move-to-next-line
557 j
558
559 move-to-prev-line
560 k
561
562 move-to-next-char
563 l
564
565 move-to-prev-char
566 h
567
568 move-to-end-of-word
569 e
570
571 move-to-next-word
572 w
573
574 move-to-prev-word
575 b
576
577 move-to-start-of-next-block
578 ]
579
580 move-to-start-of-prev-block
581 [
582
583 move-to-end-of-next-block
584 }
585
586 move-to-end-of-prev-block
587 {
588
589 move-to-start-of-line
590 0
591
592 move-to-end-of-line
593 $
594
595 move-to-start-of-document
596 gg
597
598 move-to-end-of-document
599 G
600
601 yank-selected -p
602 Y
603
604 yank-selected
605 y
606 <Return>
607 <Ctrl-M>
608 <Ctrl-J>
609 <Shift-Return>
610 <Enter>
611 <Shift-Enter>
612
613 scroll left
614 H
615
616 scroll down
617 J
618
619 scroll up
620 K
621
622 scroll right
623 L
624