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