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