]> git.rmz.io Git - dotfiles.git/blob - qutebrowser/keys.conf
mutt: update chakralinux.org address
[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 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 title
228 yt
229
230 yank title -s
231 yT
232
233 yank domain
234 yd
235
236 yank domain -s
237 yD
238
239 open -- {clipboard}
240 pp
241
242 open -- {primary}
243 pP
244
245 open -t -- {clipboard}
246 Pp
247
248 open -t -- {primary}
249 PP
250
251 open -w -- {clipboard}
252 wp
253
254 open -w -- {primary}
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 pretty-url
426 yp
427
428 yank pretty-url -s
429 yP
430
431 hint inputs
432 ;t
433
434 repeat-command
435 .
436
437 set-cmd-text /
438 /
439
440 set-cmd-text ?
441 ?
442
443 set-cmd-text :
444 :
445
446 tab-next
447 <ctrl-pgdown>
448
449 [insert]
450 # Keybindings for insert mode.
451 # Since normal keypresses are passed through, only special keys are
452 # supported in this mode.
453 # Useful hidden commands to map in this section:
454 # * `open-editor`: Open a texteditor with the focused field.
455 # * `paste-primary`: Paste primary selection at cursor position.
456
457 open-editor
458 <ctrl-e>
459
460 insert-text {primary}
461 <shift-ins>
462
463 [hint]
464 # Keybindings for hint mode.
465 # Since normal keypresses are passed through, only special keys are
466 # supported in this mode.
467 # Useful hidden commands to map in this section:
468 # * `follow-hint`: Follow the currently selected hint.
469
470 follow-hint
471 <return>
472 <ctrl-m>
473 <ctrl-j>
474 <shift-return>
475 <enter>
476 <shift-enter>
477
478 hint --rapid links tab-bg
479 <ctrl-r>
480
481 hint links
482 <ctrl-f>
483
484 hint all tab-bg
485 <ctrl-b>
486
487 [command]
488 # Keybindings for command mode.
489 # Since normal keypresses are passed through, only special keys are
490 # supported in this mode.
491 # Useful hidden commands to map in this section:
492 # * `command-history-prev`: Switch to previous command in history.
493 # * `command-history-next`: Switch to next command in history.
494 # * `completion-item-focus`: Select another item in completion.
495 # * `command-accept`: Execute the command currently in the commandline.
496
497 command-history-prev
498 <ctrl-p>
499
500 command-history-next
501 <ctrl-n>
502
503 completion-item-focus prev
504 <shift-tab>
505 <up>
506
507 completion-item-focus next
508 <tab>
509 <down>
510
511 completion-item-del
512 <ctrl-d>
513
514 command-accept
515 <return>
516 <ctrl-m>
517 <ctrl-j>
518 <shift-return>
519 <enter>
520 <shift-enter>
521
522 completion-item-focus next-category
523 <ctrl-tab>
524
525 completion-item-focus prev-category
526 <ctrl-shift-tab>
527
528 [prompt]
529 # Keybindings for prompts in the status line.
530 # You can bind normal keys in this mode, but they will be only active
531 # when a yes/no-prompt is asked. For other prompt modes, you can only
532 # bind special keys.
533 # Useful hidden commands to map in this section:
534 # * `prompt-accept`: Confirm the entered value.
535 # * `prompt-yes`: Answer yes to a yes/no question.
536 # * `prompt-no`: Answer no to a yes/no question.
537
538 prompt-accept
539 <return>
540 <ctrl-m>
541 <ctrl-j>
542 <shift-return>
543 <enter>
544 <shift-enter>
545
546 prompt-yes
547 y
548
549 prompt-no
550 n
551
552 prompt-open-download
553 <ctrl-x>
554
555 [command,prompt]
556
557 rl-backward-char
558 <ctrl-b>
559
560 rl-forward-char
561 <ctrl-f>
562
563 rl-backward-word
564 <alt-b>
565
566 rl-forward-word
567 <alt-f>
568
569 rl-beginning-of-line
570 <ctrl-a>
571
572 rl-end-of-line
573 <ctrl-e>
574
575 rl-unix-line-discard
576 <ctrl-u>
577
578 rl-kill-line
579 <ctrl-k>
580
581 rl-kill-word
582 <alt-d>
583
584 rl-unix-word-rubout
585 <ctrl-w>
586
587 rl-backward-kill-word
588 <alt-backspace>
589
590 rl-yank
591 <ctrl-y>
592
593 rl-delete-char
594 <ctrl-?>
595
596 rl-backward-delete-char
597 <ctrl-h>
598
599 [caret]
600
601 toggle-selection
602 v
603 <space>
604
605 drop-selection
606 <ctrl-space>
607
608 enter-mode normal
609 c
610
611 move-to-next-line
612 j
613
614 move-to-prev-line
615 k
616
617 move-to-next-char
618 l
619
620 move-to-prev-char
621 h
622
623 move-to-end-of-word
624 e
625
626 move-to-next-word
627 w
628
629 move-to-prev-word
630 b
631
632 move-to-start-of-next-block
633 ]
634
635 move-to-start-of-prev-block
636 [
637
638 move-to-end-of-next-block
639 }
640
641 move-to-end-of-prev-block
642 {
643
644 move-to-start-of-line
645 0
646
647 move-to-end-of-line
648 $
649
650 move-to-start-of-document
651 gg
652
653 move-to-end-of-document
654 G
655
656 yank selection -s
657 Y
658
659 yank selection
660 y
661 <return>
662 <ctrl-m>
663 <ctrl-j>
664 <shift-return>
665 <enter>
666 <shift-enter>
667
668 scroll left
669 H
670
671 scroll down
672 J
673
674 scroll up
675 K
676
677 scroll right
678 L
679