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