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