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