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