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