]> 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 [insert]
417 # Keybindings for insert mode.
418 # Since normal keypresses are passed through, only special keys are
419 # supported in this mode.
420 # Useful hidden commands to map in this section:
421 # * `open-editor`: Open a texteditor with the focused field.
422 # * `paste-primary`: Paste primary selection at cursor position.
423
424 open-editor
425 <Ctrl-E>
426
427 paste-primary
428 <Shift-Ins>
429
430 [hint]
431 # Keybindings for hint mode.
432 # Since normal keypresses are passed through, only special keys are
433 # supported in this mode.
434 # Useful hidden commands to map in this section:
435 # * `follow-hint`: Follow the currently selected hint.
436
437 follow-hint
438 <Return>
439 <Ctrl-M>
440 <Ctrl-J>
441 <Shift-Return>
442 <Enter>
443 <Shift-Enter>
444
445 hint --rapid links tab-bg
446 <Ctrl-R>
447
448 hint links
449 <Ctrl-F>
450
451 hint all tab-bg
452 <Ctrl-B>
453
454 [command]
455 # Keybindings for command 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 # * `command-history-prev`: Switch to previous command in history.
460 # * `command-history-next`: Switch to next command in history.
461 # * `completion-item-prev`: Select previous item in completion.
462 # * `completion-item-next`: Select next item in completion.
463 # * `command-accept`: Execute the command currently in the commandline.
464
465 command-history-prev
466 <Ctrl-P>
467
468 command-history-next
469 <Ctrl-N>
470
471 completion-item-prev
472 <Shift-Tab>
473 <Up>
474
475 completion-item-next
476 <Tab>
477 <Down>
478
479 completion-item-del
480 <Ctrl-D>
481
482 command-accept
483 <Return>
484 <Ctrl-M>
485 <Ctrl-J>
486 <Shift-Return>
487 <Enter>
488 <Shift-Enter>
489
490 [prompt]
491 # Keybindings for prompts in the status line.
492 # You can bind normal keys in this mode, but they will be only active
493 # when a yes/no-prompt is asked. For other prompt modes, you can only
494 # bind special keys.
495 # Useful hidden commands to map in this section:
496 # * `prompt-accept`: Confirm the entered value.
497 # * `prompt-yes`: Answer yes to a yes/no question.
498 # * `prompt-no`: Answer no to a yes/no question.
499
500 prompt-accept
501 <Return>
502 <Ctrl-M>
503 <Ctrl-J>
504 <Shift-Return>
505 <Enter>
506 <Shift-Enter>
507
508 prompt-yes
509 y
510
511 prompt-no
512 n
513
514 [command,prompt]
515
516 rl-backward-char
517 <Ctrl-B>
518
519 rl-forward-char
520 <Ctrl-F>
521
522 rl-backward-word
523 <Alt-B>
524
525 rl-forward-word
526 <Alt-F>
527
528 rl-beginning-of-line
529 <Ctrl-A>
530
531 rl-end-of-line
532 <Ctrl-E>
533
534 rl-unix-line-discard
535 <Ctrl-U>
536
537 rl-kill-line
538 <Ctrl-K>
539
540 rl-kill-word
541 <Alt-D>
542
543 rl-unix-word-rubout
544 <Ctrl-W>
545 <Alt-Backspace>
546
547 rl-yank
548 <Ctrl-Y>
549
550 rl-delete-char
551 <Ctrl-?>
552
553 rl-backward-delete-char
554 <Ctrl-H>
555
556 [caret]
557
558 toggle-selection
559 v
560 <Space>
561
562 drop-selection
563 <Ctrl-Space>
564
565 enter-mode normal
566 c
567
568 move-to-next-line
569 j
570
571 move-to-prev-line
572 k
573
574 move-to-next-char
575 l
576
577 move-to-prev-char
578 h
579
580 move-to-end-of-word
581 e
582
583 move-to-next-word
584 w
585
586 move-to-prev-word
587 b
588
589 move-to-start-of-next-block
590 ]
591
592 move-to-start-of-prev-block
593 [
594
595 move-to-end-of-next-block
596 }
597
598 move-to-end-of-prev-block
599 {
600
601 move-to-start-of-line
602 0
603
604 move-to-end-of-line
605 $
606
607 move-to-start-of-document
608 gg
609
610 move-to-end-of-document
611 G
612
613 yank-selected -p
614 Y
615
616 yank-selected
617 y
618 <Return>
619 <Ctrl-M>
620 <Ctrl-J>
621 <Shift-Return>
622 <Enter>
623 <Shift-Enter>
624
625 scroll left
626 H
627
628 scroll down
629 J
630
631 scroll up
632 K
633
634 scroll right
635 L
636